Game Development Community

Foliage on water surface

by mm · in Torque Game Engine · 03/06/2004 (5:44 am) · 10 replies

Here is my question, I have made a plant and would like to lay it on top of the water. That is the easy part. The foliage replicator seems to place the plants at a 90

#1
03/06/2004 (6:09 am)
IIRC, it's under the "transform" section?

-Eric F
#2
03/06/2004 (6:45 am)
That is what I had thought too, with the "rotation" value. But every time that I would change that it would either set itself back to the default "1 0 0 0" or it would accept the value but it wouldn't really change anything. Thanks for pointing me in that direction Eric! ;)
#3
03/07/2004 (7:23 am)
Maby you can create a one face mesh and use the shape replicator instead, couse you dont need it to be a billboard I understand..
#4
03/08/2004 (9:25 am)
Hey thanks David that actually was really easy to get the objects on the water. All you have to do is make the plane and apply it to the water surface with the shape replicator. The only problem that I see and it might have done the same if the foliage replicator worked was that it had a problem drawing the shapes. They would flicker and disappear or get drawn under the water's surface even though it was set perfectly still. I think that I will just make some additional plant life and place it in by hand. ;) Thanks for everybody's help.

Matt

[EDIT]Typo[/EDIT]
#5
03/09/2004 (1:54 pm)
Uh, why not make 'up' on your shape be perpendicular (90 degrees off) to the way you want it, then when the foilage replicator places it up, it'll actuall be flat.
#6
03/09/2004 (3:25 pm)
If you read my last post you will see that is what I did, sort of. David was right you can get the results fairly easily with the shape replicator. What you are talking about to my best knowledge cannot be done with the foliage replicator since it makes the plane for you in the engine. Correct? That is why it is the foliage replicator and not the shape replicator. ;) Rotating foliage via the editor doesn't seem to work the way I had hoped or I missed something.

On a side note if anybody is interested here is what the result of a quick shape replicator test looked like. Thanks for all of the replies.

www.primatestudios.com/furballz/temp/screenshot_pond.jpg
#7
03/12/2004 (1:19 am)
That's some really cool screenshot Matt!! Love it! :D
#8
03/12/2004 (1:43 am)
Hey Stefan, thanks alot! :)
#9
03/12/2004 (2:29 am)
Cool... Nice work there... Esp the cartoonish feel...
Why not share some betta screenies... I'm sure there's
more to drule over... ;)
#10
03/12/2004 (3:39 am)
Thank you for the encouragement Burning! I'll post a .plan here shortly with some screenshots of the more recent maps. ;)

Matt