|
PH_CHAR problem
#399927
04/23/12 13:57
04/23/12 13:57
|
Joined: Aug 2007
Posts: 49 Rio Claro, São Paulo, Brazil
Cristiano_Iost
OP
Newbie
|
OP
Newbie
Joined: Aug 2007
Posts: 49
Rio Claro, São Paulo, Brazil
|
Hello,
I don´t know if this is a engine bug, but when I use PH_CHAR for a person physics movement, the player don´t stay his foot in the same level of a terrain, or bridge prefab, for example. This only works if I put the player in a scale z of 600.00 in or more in MED. Less that this value, the player "float".
The other problem that happens using PH_CHAR is the terrain. If I scale the terrain in WED, the PH_CHAR physics don´t works properly. The player don´t detect the position of the floor, staying under the level of terrain. I need to scale the terrain in MED to the PH_CHAR (player) and the gravity works.
The simple physics models to behave of a wrong way in this high scale too.
Bugs ?
Thanks
|
|
|
Re: PH_CHAR problem
[Re: jcl]
#399963
04/24/12 11:05
04/24/12 11:05
|
Joined: Aug 2007
Posts: 49 Rio Claro, São Paulo, Brazil
Cristiano_Iost
OP
Newbie
|
OP
Newbie
Joined: Aug 2007
Posts: 49
Rio Claro, São Paulo, Brazil
|
Yes, even using c_setminmax the player floats. Only works if I scaling the model in a high value, testing until he put your foot in the floor.
Now I see that this happens because the position of the model in MED. if I centralize the model, I need to use a high scale to touch the floor. But if i put the model under the axis of MED (the axis above of your head), I obtain the player touching the floor in a small scale.
So, the model above the axis, i need to a high scale, and under the axis, I obtain a small scale. This is the problem with PH_CHAR.
About the second problem (scaled terrain), is with PH_CHAR that this happens, not a vehicle.
|
|
|
Re: PH_CHAR problem
[Re: Cristiano_Iost]
#400102
04/25/12 19:31
04/25/12 19:31
|
Joined: Mar 2012
Posts: 927 cyberspace
Wjbender
User
|
User
Joined: Mar 2012
Posts: 927
cyberspace
|
it kinda sound like a gravity issue here if im reading all of it correct i think you need to apply gravity to the ph_char yourself
Compulsive compiler
|
|
|
|