Objects with Movment ?
by Areal Person · in Artist Corner · 02/14/2006 (2:43 pm) · 7 replies
Hi, I'm really new to Torque, I'm trying the demo SDK. I know this is a basic question, but
could someone please help me ?
I cant find the instructions on creating a "Dynamic" Object. I want to put objects in my game
that have motion attached to them, things like "Sunflowers that sway in the wind", "Grass that
has gental movment back and forth as wind blows etc., I can see that water moves on it's own but how do I
do this with other objects that should have some movment based on enviroment ?
When the wind blows I want my tree to sway. How do I do that kind of stuff ?
I know how to load a static object from a dts file (but thats all I know how to do).
Thanks for helping a new person.
could someone please help me ?
I cant find the instructions on creating a "Dynamic" Object. I want to put objects in my game
that have motion attached to them, things like "Sunflowers that sway in the wind", "Grass that
has gental movment back and forth as wind blows etc., I can see that water moves on it's own but how do I
do this with other objects that should have some movment based on enviroment ?
When the wind blows I want my tree to sway. How do I do that kind of stuff ?
I know how to load a static object from a dts file (but thats all I know how to do).
Thanks for helping a new person.
#2
i think this would require modifications to the engine source code.
(Which is why Matt said it should be posted in the Owner's forum, except he probably didn't notice you're not an owner yet)
You might check out the various [url]content packs[/url],
some of the newer ones might provide that kind of support.
Someone else could probably be more definitive..
02/14/2006 (3:01 pm)
Areal -i think this would require modifications to the engine source code.
(Which is why Matt said it should be posted in the Owner's forum, except he probably didn't notice you're not an owner yet)
You might check out the various [url]content packs[/url],
some of the newer ones might provide that kind of support.
Someone else could probably be more definitive..
#3
then use the private forums.
OK thank you.
It's my understanding there is a foliage repliactor ? How do you use it ?
Thanks.
02/14/2006 (3:09 pm)
Ok, Sorry I should not have asked that question because I just need to purchase the software firstthen use the private forums.
OK thank you.
It's my understanding there is a foliage repliactor ? How do you use it ?
Thanks.
#4
You can get a swaying flower easily with animation, same with trees.. but the collision mesh won't move with them. For that you'll need to modify the source. But for grass and stuff like that it won't matter anyway.
This is pretty easy to add if you know how exporting works, if not.. I suggest you look it up in the public documentation, it's a great tutorial in there somewhere.
Edit: The foliage replicator is placed like any other object in the world, via the Creator.
02/14/2006 (3:26 pm)
Areal, that was not funny. You should use the Torque section if your question is specific to Torque. The public section.You can get a swaying flower easily with animation, same with trees.. but the collision mesh won't move with them. For that you'll need to modify the source. But for grass and stuff like that it won't matter anyway.
This is pretty easy to add if you know how exporting works, if not.. I suggest you look it up in the public documentation, it's a great tutorial in there somewhere.
Edit: The foliage replicator is placed like any other object in the world, via the Creator.
#5
02/14/2006 (3:38 pm)
Thanks.
#6
02/14/2006 (3:45 pm)
And trees swaying is just animating and using a cs file to play the anim. It really requires no source code changes at all.
#7
02/14/2006 (4:19 pm)
Good to know, thanks.
Torque Owner Matt Vitelli