3421
General Discussion / Re: Heres Some Tips For Events...
« on: December 11, 2008, 03:26:28 PM »
Whenever you see a set of three boxes like that, it's usually a direction vector. For instance, in Brick->spawnProjectile, there is two (for Direction and Inaccuracy) and Player->setVelocity there is one. (Velocity)
If you have access to a brick that you own and can set emitters/etc from, or a compass, then this is what each correspond to:
First box = X amount = East (positive) or West (negative)
Second box = Y amount = North (positive) or South (negative)
Third box = Z amount = Up (positive) or Down (negative)
North in the Bedroom is towards the wall with the poster. East is towards the door. You can work out the other directions from there.
If you have access to a brick that you own and can set emitters/etc from, or a compass, then this is what each correspond to:
First box = X amount = East (positive) or West (negative)
Second box = Y amount = North (positive) or South (negative)
Third box = Z amount = Up (positive) or Down (negative)
North in the Bedroom is towards the wall with the poster. East is towards the door. You can work out the other directions from there.