if Fall speed max = 0 , it will never goes down. But if .gravity < 0 , the object starts to go up
ok, so it hard caps the Z velocity. so you can jump up faster than you fall
maybe its like
if worldLinearVelocity.z < -cap:
worldLinearVelocity.z = -cap
EDIT: negative lol
i guess you can make ur character jump higher with lower .gravity or even flying if < 0 . But i just know that itâs not possible to change Jump and Fall parameters in game. Itâs possible with import bpy but then cannot use the Standalone player
upbge looks like it adds that feature
ahh, so the character physic type was not dismissed⌠I just like it for itâs simplicity. I started to make my game with no knowledges in BGE and a little few with Blender. So i started with the basic and now the result is becoming nice
(no offense) But why are you using a CHARACTER_PHYSICS and not RIGIDBODY_PHYSICS (?)
I gave up CHARACTER_PHYSICS long ago due too it being too âunpredictableâ.
RIGIDBODY_PHYSICS also have more options then CHARACTER_PHYSICS do.
If you are using CHARACTER_PHYSICS for jump code.
Any OBJECT can jump with.
logic.getCurrentController().owner.applyForce()
.jump() works for Character. I would say that Character physics is ok for me for the moment. Iâm very suspicious of dynamic Physics in games in general : if your physics goes crazy 1 time on 100 , forget about it. I prefer to stick with basic things and master them rather than go into fancy things i wonât be able to predicte its behavior (i had some hard times with rigid bodies, but i was pure noob at that time) Also why did they create the âCharacterâ physic in the first place ? Thereâs probably a reason I would like to know.
Also, im not sure that âCharacterâ can use the .applyforce()
[ FEEDBACK ]
If you want PRECISE motion with PYTHON then use math.radians().
I think CHARACTER physics were invented for people who donât code.
Dynamic box is the best way to hold a player, enemy, or anything that needs a collision check.
Very easy to control, you see that 99% uses this for their characters, due to itâs the best option.
is it a bit harder, no not at all. does it have all the functions, no that is something you need to build (like walking stairs(if you need it)), but most can be worked around it, for example simply put a plane on the stairs
Yes it is good solution for collisions. However box collisions can be very weird to watch.
(Like getting stuck between 2 narrow walls)
never had a problem with it, and if you make the passage as width as the char. box then ur doing something wrong already
@Cotaks
Personally for me.
OBJECTS are either going through walls.
Or
OBJECT COLLISION is extremely far from each other.
P.S I know how to do all the PHYSIC options btw.
so you use the wrong method to move your character.
use velocity or force, now they will never ever again go trough walls
here try it out:
So you scale objects the wrong way, scale in edit mode or use ctrl+a and apply scaling.
Thx for the suggestions.
I was just trying to give some humor to @blenderaptorâs situation.
Collisions isnât really a big issue for me unless Iâm building large environments.
yes, thatâs exactely why iâm ok with Character physics. It makes me feel they put a canevas on what is possible and what is not. Generaly speaking, if i see lot of options, somehow i expect that something will goes crazy at 1 moment and i wonât know what will provoke that.
Nice BGE PHYSIC quote.