Character/Vehicle

Blitz3D Forums/Blitz3D Beginners Area/Character/Vehicle

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.

To clarify what both Slotman and Ross pointed out, bear in mind that EntityDistance is calculating from the center of the entity (or rather the origin point, which is typically somewhere in the middle) not from its outside edge. Thus, if the vehicle is bigger than 1, then the character is never actually getting close enough.

So yeah try setting the distance check to a bigger value and see if that works.