help please


(masta_p) #1

i am making a game and i have serious collision problems. i have already set the collision button in face mode i have the material so it wont bounce and my character does not move too fast at all, so why does my character still pass through objects


(z3r0 d) #2

are you using dloc for motion?


(masta_p) #3

yea what does that have to do with it and if i have to change it what should i use


(z3r0 d) #4

dloc doesn’t set the velocity of the object, so when a collision is detected the physics can’t decide what to do to resolve the collision [if you’re half way through a wall, and not moving, how should the physics put you out?]

use linv instead, but it takes some effort to make it work the same


(masta_p) #5

well i got it to move forward but thats it how do i make it turn cuz when i put a motion actuator to make it turn it just moves in one direction and spins


(masta_p) #6

well i got it to move but thats it so how do i make it turn cuz when i put a motion actuator to make it turn it just move in one direction and spins


(StrikerMunc) #7

Here is a thread I started asking for help looking around.

http://www.elysiun.com/forum/viewtopic.php?t=54619

It is a blend file where you can look around with the mouse. I suppose if you already have some work done on yours, you could figure out how this one ticks (two python scripts and one set of logic bricks) and just append that into your file. Hope this helps!

p.s. - All credit goes to matthewjcs (srry if I mispelled name) for the file, he is a genius.

p.p.s. - one last thing, he is currently making a copy of it which constrains movement so you can only look so far up or down, which adds more realism. Kudos to him!!


(masta_p) #8

i meant that the character does not turn when i use a dloc, lin v, or whatever i try to make it turn when i use linv for moving forward. can it be fixed


(MagicMan) #9

You need to use dRot or angV and make sure your linV is set to local motion (the little L is depressed next to the values).