On the stair
Blitz3D Forums/Blitz3D Beginners Area/On the stair
| ||
I can't resolve the stair problem. My model does not go up the stair. Do you have a sample or something how can make this? |
| ||
Hi Mike, I think you might need to elaborate a touch more. What stair? What model? Later, Jes |
| ||
Is scale related? Like if you collision sphere is smaller than the stair step? |
| ||
The size of the sphere is good for the model. The model is on the ground (gravity with translateentity) My model is an animated b3d model (a man) and the level is the sample model of Maplet. Do you know? Stairs and raps. |
| ||
tell us what gravity setting you have and what speed setting you have for you character when he moves... Tell us the radius setting also |
| ||
EntityRadius player,1.8,.6 mvz=mvz + .25 MoveEntity ent,mvx,0,mvz TranslateEntity player,0, -.5,0 The level is too small hence the size is 7.5,7.5,7.5 The model is too big hece his size is .13,.13,.13 Is this problem? |
| ||
hard to say but that radius looks big to me...I set mine to about 0.7 and then positioned my player above its parent pivot. However I'm doing an FPS and don't have a character which you can physically see. the only time my stairs haven't worked is when the speed setting has been set too low...or alternatively gravity to high. Its a balancing act Does that speed setting keep on increasing or have you clipped it to 0.25? if so it needs more... |
| ||
I think I must balance the radius, the gravity and the speed. thank you the help |
| ||
Hope your sort it out. It's a real bummer when something that seems so simple turns out to be a total drag. |
| ||
I know the solution. I miss the pivot. I'm controlling the model directy. This is the problem. Now I have a pivot and the model is attached to the pivot. The pivot controls the collisions and the movements. Now goes up the stair smoothly. thank you |