Trying to align stuff

Blitz3D Forums/Blitz3D Programming/Trying to align stuff

EvilMeowChi(Posted 2004) [#1]
I have a car. The wheels are seperate entitys, how do i make the body of the car stay with the wheels?


Matty(Posted 2004) [#2]
Parent the wheels to the car entity using the entityparent command.


EvilMeowChi(Posted 2004) [#3]
sorry, i guess i didnt make it very clear at all, probably shouldnt drink before i make posts about coding and stuff. I have the wheels as seperate entities so that they can follow the terrain. I need to rotate the car to be with the wheels. Sorry about that.


Eric(Posted 2004) [#4]
There is a basic demo in the Samples folder under MAK called the Driver demo...This might help.

Regards,
Eric


Stevie G(Posted 2004) [#5]
Check out the car demo in the samples folder.


EvilMeowChi(Posted 2004) [#6]
im looking for something more along the lines of a function like.

Align(CornerEntity1,COrnerEntity2,CornerEntity3,CornerEntity4,EntityToAlign)


_PJ_(Posted 2004) [#7]
I assume there will be a central point, which maintains a distance from all the wheels?

If so, et a pivot there, parent the car body to the pivot?


EvilMeowChi(Posted 2004) [#8]
i figured it out, thanks