I’ve been working on making a dynamic character for a game, and I’m having some movement problems.
Right now, I’m using simple motion for the running/walking, and linear velocity for the gravity and jumping. Whenever the character runs into a wall, it just phases through it. Is there a way to use different ways of moving to be able to prevent this?
In order for the jump to work, it needs to be added velocity. This isn’t a problem for the jump, since the tap option is on for the keyboard sensor, but for something like running or walking which requires you to hold the key, force and added velocity make the player go incredibly fast. I can’t use set velocity either, since when you jump, you don’t land.
changed W key to velocity (1.4 for walking(it’s 4 now to run to wall faster))
changed collision bounds of your building and player (you had it setup wrong, nothing to do with teleporting trough wall, that is purely the movement option you use, only force and velocity move/pushes the object, the other methods teleports the object, that’s why it’s going trough the wall)
also, maybe you like my 8 directional third person setup (python and adjustable settings)
strange, the upbge .blend works in any upbge, with a tiny fix it works in upbge 0.3.0 as well.
the BGE .blend works in all blender versions. tested from 2.6 i believe.
So you must have done something wrong, try downloading it again.