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 → PYR and attaching objects question.
PYR and attaching objects question.
2005-10-04, 9:00 AM #1
Is it possible to 'attach' things to a player object (like a car, for instance) and they rotate as the player object rotates? No matter if it's pitch, yall, or roll? Given that the location of their origin is the same...

Alternately, I guess another way to approach it, is it possible for multible objects's PYR to be controled by a single player?
"The solution is simple."
2005-10-05, 3:44 PM #2
I think there's an attach flag for having PYR carry over to an object. For your second question, if the objects aren't attached, just set the look vector to the look vector of the other thing in a pulse.
Bassoon, n. A brazen instrument into which a fool blows out his brains.
2005-10-06, 5:49 PM #3
You should refer to the CTF cogs from Jedi Knight on how they handle attaching the flags to the players. If you are using MotS, you can also look at the cog used for the blaster cannon as that are verbs used to rotate the cannon with the player.
The cake is a lie... THE CAKE IS A LIE!!!!!
2005-10-07, 10:21 AM #4
Similar line of questioning...

Is it possible to hold the players PYR fixed and rotate all other 3do's around it as the player moves the controls?
"The solution is simple."

↑ Up to the top!