moving entity with entity

Blitz3D Forums/Blitz3D Beginners Area/moving entity with entity

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

i've made an airship that i can walk around on, but i have problems walking around on it when its moveing, for instance sliding of the back when its moving forward, falling through it when its moveing up, i tryed to fix it like this

tmpx=entityx(character)-entityx(airship)
tmpy=entityy(character)-entityy(airship)
tmpz=entityz(character)-entityz(airship)

moveentity airship,asx,asy,asz

positionentity character,entityx(airship)+tmpx,entityy(airship)+tmpy,entityz(airship)+tmpz



this worked fine if my airship only went forward or forward and down slowly, if i went up i would fall through the ship, if i went down to fast and forward i would slide off the back.
i tryed to do entityparent but it kept messing up the coordinates of my character and my camera would go flying of the terrain.

somebody must know a good way to do this
thanks