Bobbybel Posted March 30, 2016 Posted March 30, 2016 Hey,I have to create a double jumping mechanic for my game, but I can't figure out how to do it. The only solution I have is to modify player's Z axis, but the jumping animation will look awful. Actually all I need to know could be what to modify in the game properties to be able to jump in mid-air, but I take every solution you could give me !I already tried this but it doesn't work for me : https://www.garagegames.com/community/forums/viewthread/120063Thanks in advance. Quote
TRON Posted March 30, 2016 Posted March 30, 2016 I found two possible double jumping solutions:Script based and Engine modification based.The script example provided by Amrius looks like it'll work in theory, but doesn't take into effect the player model's mass and so you would have to try various jumpForce z values to get the right amount of force that's right for your player model.Kevin Mitchell's engine modification adds jump double support, but also adds quake-style in-air player movement which is already in T3D controlled via PlayerData.airControl datablock field member. Quote
Bobbybel Posted April 1, 2016 Author Posted April 1, 2016 It worked with the script based, I didn't know that applyImpulse method. Thanks a lot man Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.