Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Hi! I return with a querry.
Hi! I return with a querry.
2005-02-17, 1:38 PM #1
Hi!
I return. Been doing other stuff... Anyway, I have a problem.
I'm trying to make an object fire grenades from its top, but it ain't working correctly. The object is a sequencer that attaches to all surfaces, and so I want grenades to jump out from "object top" as Bryce would put it. And also, at a slight randomidity to the objects X and Y.
((rand()*2.00000000)-1.00000000)/5

/Edward
Edward's Cognative Hazards
2005-02-18, 1:55 AM #2
VectorAdd(GetThingUVec(Seq), GetThingPos(Seq)); will give you a position 1 JKU from the "top" of the 3do, no matter it's orientation. Also, you'd want to scale the UVec down if you don't want the position 1 JKU away. ;)
-Hell Raiser

↑ Up to the top!