Go Back   Scifi-Meshes.com > 3D Modeling > 3D Questions & Answers

3D Questions & Answers Post your questions here. Make sure you include all necessary information.

Reply
 
Thread Tools Display Modes
Old 04-02-2008, 05:31 PM   #1 (permalink)
SFM Nugget

 
Realname: johan
Join Date: Jun 2006
Posts: 13
moving phaser object question

hi im pretty new at 3ds max, and now ive desided to try to make a short clip of a ship fight. Im having problems with the posision of the cylinder i use as a phaser beam, i want the cylinder to be linked with two moving objects, problem is i can't get the cylinder to stay put on both of the moving objects at the same time, any help would be much appreciated!

hmm like 2 spheres and a cylinder between them, i want the cylinder to follow em both! when they move

Last edited by booa; 04-02-2008 at 09:55 PM.
booa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-02-2008, 05:40 PM   #2 (permalink)
SFM Obsessed
 
spudmonkey's Avatar

Winner! - Sensei Challenge 6 Sensei Challenge Winner! Sensei Challenge Honorable Member Award 
Total Awards: 3 (more» ...)
 
Realname: Nick
Join Date: Jun 2006
Location: UK
Posts: 2,024
Check out "Linked Xform" in the help

unofficial speed modelling challenge #1 - Communication devices

My random WIP thread which includes some hints and tips on modelling which _may_ be useful for the link above...!
spudmonkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-02-2008, 06:12 PM   #3 (permalink)
SFM Nugget

 
Realname: johan
Join Date: Jun 2006
Posts: 13
iknow this is prob the easiest ever but i can't link the linked xform to 2 objects at the same time. Is there any other way of doing this?

Last edited by booa; 04-02-2008 at 09:20 PM.
booa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-02-2008, 09:55 PM   #4 (permalink)
SFM Obsessed
 
Melak's Avatar

Tutorail Writers Award 
Total Awards: 1 (more» ...)
 
Realname: Leon
Join Date: May 2006
Location: Berlin
Age: 18
Posts: 1,198
Send a message via MSN to Melak Send a message via Skype™ to Melak
Do you want the Cylinder to be fixed between two points on these objects? (Like, phaser emitter on object A, and target on object B) While the distance is changing?
Melak is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-02-2008, 10:10 PM   #5 (permalink)
SFM Nugget

 
Realname: johan
Join Date: Jun 2006
Posts: 13
yes thats what i need
booa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-03-2008, 12:00 AM   #6 (permalink)
Sensei
 
Howard Day's Avatar
Sensei
 
Join Date: May 2006
Age: 26
Posts: 430
Well, this can be done a couple of different ways. The Easiest is to create a LookAt rotation controller. Now by default this would lookat the center of whatever object you tag it to (IE the transform gizmo) so you'll want to have it look at a dummy instead. You then link the object to the first ship ( with the base of the cylinder at the fire point) and the dummy object to the other ship. You can even move the dummy independently from the other ship to do strafing attacks. Multiple shots? Have the dummy jump to different locations on the enemy ship while fading your phaser in and out.
Howard Day is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-03-2008, 01:01 PM   #7 (permalink)
SFM Nugget

 
Realname: johan
Join Date: Jun 2006
Posts: 13
ah perfect thank you so much, just one more question, i want the cylinder to auto configure it size, it wont grow when the distance increases, is there a way to do this?
booa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-03-2008, 01:31 PM   #8 (permalink)
SFM Nugget
 
Ndege's Avatar

 
Realname: Ndege
Join Date: Oct 2006
Posts: 98
Yes. Scripting or wiring can do that. The easiest way I can think of is to add an Expose Transform helper and have it "expose" your phaser emitter dummy node. Then set its Local Reference Node to the target dummy to get a "distance to reference" value. Wire the phaser cylinder Height value to the Expose Transform distance value.

If you set up a Look at controller like Howard suggests the cylinder should point at, and span, the distance between the emitter and target no matter where you move them in your scene.
Ndege is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-03-2008, 05:08 PM   #9 (permalink)
SFM Nugget

 
Realname: johan
Join Date: Jun 2006
Posts: 13
okok i understand everything exept how i wire the cylinder height value with the expose transform value?
booa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-03-2008, 05:24 PM   #10 (permalink)
Worldwide Phenomenon
 
Guerrilla's Avatar
SuperMod
 
Realname: Mika
Join Date: May 2006
Location: Helsinki
Age: 25
Posts: 2,819
Send a message via MSN to Guerrilla
Right click --> Wire Parameters

WIP: Semi-Random Projects

Comco: i entered it manually in the back end

Last edited by Guerrilla; 04-03-2008 at 05:43 PM.
Guerrilla is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

« - | - »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 05:46 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
Template-Modifikationen durch TMS