Hy there
I’ve tried to make a simple jump node tree, later added a double jump function.
So the cube can jump I used the “Apply Impulse” node.
And that you can’t “fly-jump” I added an “anti-key-spam” mechanism with a Property.
(Cube mass: 3)
But I’m not happy with what I’m getting. The cube rises to slow and also fall to slow. But if I increase the Mass in the physics tab I also need to increase the Impulse and the result is the same as before,
Is there a better/easier way to make a jump-“system”, with nodes?
Maybe you can increase gravity together with the cubes Linear Factor Z (about 1.8 seems to be the limit of stability with this one). You can find it in the Rigidbody preferences of the cube -> Armory Props
so let’s imagine this is a really sick fps setup, but its missing something.
“jumping”.
so start by putting an empty in the character, one under the character and a cube in between but not touching the character.
Voila!
Edit: the cube should be in trigger mode and static mode and all of the empties and the cube itself should be parented to the player.
Edit2: the ray goes thru the character because of culling, which is completely reasonable.