Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hello, I search about jumping but I didn't find too much about how to change the jump so that the character fall slower than jumping, just like a platformer where he stays a little bit in the air before falling. Is there a way to achieve this with the available behaviors? I saw the game Super Galaxy Ranger Luna 64 by dev Ishmaru was able to do it it seems Thanks in advance. |
||||
|
Use the javascript command ccbSetPhysicsVelocity() to set vertical physics velocity on the Y-axis for your player and make sure you have enabled the physics engine. |
||||
|
Ok, I'm gonna try it. I didn't try javascript yet on coppercube, so I'll check the tuto on how to do it. I'll search if there are example of such script. Thanks for the quick reply |
||||
|
it is also possible to lower the gravity in root node to make nodes fall slower |
||||
|
I didn't notice you could do that to the root node! I'll check this , thanks coa! |
||||
|
Hi, I tried to implement a simple platformer couple of months ago than I was starting with coppercube.Then abandoned it. Default gravity behavior sort of didn't work for me, so I implemented my own. Not even sure if it's usable, since the code there is a complete garbage, but you can find the ccb file here https://drive.google.com/file/d/1W0fUMvA1wWd0XpbEswfxT9v8A3SO7y84/view?usp=sharing. The behavior is called 3d arcade controller or something like that. |
||||
|
Thanks for the help okeoke! |
||||
|
like this ??? https://www.ambiera.com/forum.php?t=7737 JaimeZegpi Guest Quote 2021-01-21 This is you need ? |
|