Trying to align stuff

Blitz3D Forums/Blitz3D Programming/Trying to align stuff

I have a car. The wheels are seperate entitys, how do i make the body of the car stay with the wheels?

Parent the wheels to the car entity using the entityparent command.

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.

There is a basic demo in the Samples folder under MAK called the Driver demo...This might help.

Regards,
Eric

Check out the car demo in the samples folder.

im looking for something more along the lines of a function like.

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

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?

i figured it out, thanks