Jumping to far.
by Terra Snover · in Torque 3D Professional · 06/14/2010 (10:00 pm) · 2 replies
I'm wanting a character who can jump very high (like in the sonic or mario games). I know how to up the character jump by changing my mass and/or the jumpForce in the player.cs. But after upping the jump code something goes wrong. When I do a running jump off an angle my character will do a flying jump, clearing a ton of ground. I want to know if there is any way to keep the height of my jump, but get rid of the angle flying jump thing?
Thanks!
Thanks!
#2
Here is the relevant code for her maybe there is something wrong with it?
mass = 100;
density = 1.1;
runForce = 48 * 90;
runSurfaceAngle = 35;
jumpForce = 70 * 90 ;
jumpDelay = 15;
jumpSurfaceAngle = 40;
airControl = 0.025;
drag = 1.5;
maxdrag = 0.4;
06/15/2010 (10:36 am)
allright I tried that and it rind of worked. She still does the flying jump on an angle but not nearly as bad.Here is the relevant code for her maybe there is something wrong with it?
mass = 100;
density = 1.1;
runForce = 48 * 90;
runSurfaceAngle = 35;
jumpForce = 70 * 90 ;
jumpDelay = 15;
jumpSurfaceAngle = 40;
airControl = 0.025;
drag = 1.5;
maxdrag = 0.4;
Associate Michael Hall
Distracted...
Or may need to adjust the drag settings also.