Dumb Question

Blitz3D Forums/Blitz3D Beginners Area/Dumb Question

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.

Well say you want the handle of the tree your player is collided with.

Players are collision type 1
Trees are collision type 2
Ground is collision type 3

(these above are just example collision type numbers, you set them with the EntityType command)

You can't just check for generic collisions, becuase your player will probably be collided with the tree and the ground. So you are just looking for what tree hes collided with, which is type 2.

CollidedTreeName = EntityCollided(Player,2)