|
Post by WhyNot on Apr 5, 2016 15:37:14 GMT
Greetings fellow 3D Rad users. I'm trying to build a 3D 3rd person, Action game so, i did basic animations and physX but I don't know how to make a jump system for my character ? can any of you help me with that.
|
|
|
Post by Thunder on Apr 5, 2016 20:12:54 GMT
Use velocity for jumping and make it activate with an input.
|
|
|
Post by commended on Apr 5, 2016 20:14:22 GMT
Jump TEST.3dr (84.14 KB) This kinda works but replace the cam1stperson with the character rigibody. Hope I helped and if you find any improvements please tell me as I am still working on this:)
|
|
|
Post by WhyNot on Apr 6, 2016 14:38:32 GMT
ooooooookkkkkkkk, the velocity doen't look good but commended good point
|
|
|
Post by Thunder on Apr 6, 2016 14:57:55 GMT
Why do you think the velocity isn't working?
|
|
|
Post by WhyNot on Apr 7, 2016 15:22:57 GMT
it rotates with the rigid body
|
|
|
Post by WhyNot on Apr 8, 2016 16:19:06 GMT
Hey commended there's a bug just hit th jump button over and over again like 2 per second and player can fly
|
|
|
Post by commended on Apr 9, 2016 7:25:23 GMT
Hey commended there's a bug just hit th jump button over and over again like 2 per second and player can fly Yeah, I noticed. Still working on that, I will get back to you as soon as possible:)
|
|
|
Post by WhyNot on Apr 9, 2016 13:10:59 GMT
OK
|
|
|
Post by kulu on May 31, 2016 8:56:48 GMT
Dont forget to switch off the velocity after it has been activated by the input. You can use an event timer which will switch off the velocity after a secound . You can activate the event timer using the same input that activates the velocity. Hope this helps
|
|
|
Post by WhyNot on May 31, 2016 9:53:02 GMT
same thing with G-force you are correct. the thing is velocity rotates with the sphere we can use a script but you know.
|
|
|
Post by kulu on May 31, 2016 13:37:28 GMT
What character control system are you using? Are you using the character object with a rigid body and skinmesh. If you are , then just adding a force or velocity with an input event should work.
|
|
|
Post by WhyNot on May 31, 2016 15:03:31 GMT
you try it yourself bro. It doesn't work. I'm using a sphere rigid body and skinmesh. you see I've left that project and got to other one So it's not that Imporant. thanks for your advice. But nothing goes by learning right
|
|
|
Post by rock on Jun 1, 2016 6:06:38 GMT
kulu I am using the character object with a rigid body and skinmesh bro .
|
|
|
Post by kulu on Jun 1, 2016 11:04:05 GMT
Okay . If you are using the character object with a rigid body sphere and skinmesh attached. Then make sure that the force or velocity you add has the exact same position and orientation of your rigid body sphere . (copy and paste the position and orientation of your rigid body to the force or velocity). And then use these values for the orientaion of the velocity or force : -90 ; 0 ; 0 . ( this will make sure that the force acts upwards only) Then turn off 'local orientation' on the velocity. Make sure to test the velocity or force intensity by adding a big value like 200 for intensity, and then tweak till it works for you. Remember that you can activate the force with an 'event on input' so switch off 'working at start' , if you want to activate it with an input. And remember to setup the relationships of your velocity and rigid body. The rigid body should be the 'recipient' of the velocity or force. And remember to link the rigidbody to a g-force object so that it falls to the ground. Thats how I setup my scene while testing the jump mechanics for 3d rad. Always remember the relationships that your objects share. I cant explain it simpler . Hope it works .
|
|
|
Post by rock on Jun 1, 2016 14:17:32 GMT
|
|