How do I find all the variables of the "player" object?
by Jason Doiron · in Torque Game Engine · 09/09/2005 (1:25 pm) · 6 replies
I'm using the FPS example that comes with the SDK. I'm trying to find out how to make a "jump-pad" that just launches a character into the air: Its a trigger, and in the OnEnter, I figure I'll just apply some force to the player. Problem is, I don't know the names of the variables of the player object. I've looked all over the scripts (player.cs, etc..), and I can't find anywhere where the player is defined, with his current momentum vector, etc..
#2
09/09/2005 (1:53 pm)
Thank you
#3
On the down side, I think a zone like that will apply forces to everything that enters it. This probably includes projectiles and the like (things other than players).
09/09/2005 (2:31 pm)
For your particular purpose here, I think you'd want a "physical zone". They can change gravity, and (more important to your needs) apply forces.On the down side, I think a zone like that will apply forces to everything that enters it. This probably includes projectiles and the like (things other than players).
#4
http://www.garagegames.com/mg/forums/result.thread.php?qt=34341
:)
09/09/2005 (2:32 pm)
See my post in your other thread:http://www.garagegames.com/mg/forums/result.thread.php?qt=34341
:)
#5
09/09/2005 (3:15 pm)
There was a Tribes 2 mod that included a jump pad -- it didn't use a physical zone. Instead, it applied an upwards force to you on collision.
#6
There was also one that just moved your player cord +15 on the y axis....
09/09/2005 (3:29 pm)
"There was a Tribes 2 mod that included a jump pad -- it didn't use a physical zone. Instead, it applied an upwards force to you on collision."There was also one that just moved your player cord +15 on the y axis....
Associate Ron Yacketta