HitBox of items
Posted: Fri Feb 13, 2015 11:51 am
Hi,
How can i make a hitbox of some items and objects? example, i have a tree that is randomly spawned in the 5000x5000 pixel world, the world is 2d but you can move up, down, left, right, just like an mmo. So when the character comes near a tree, the tree would block him and he needs to go around it.
Thanks
How can i make a hitbox of some items and objects? example, i have a tree that is randomly spawned in the 5000x5000 pixel world, the world is 2d but you can move up, down, left, right, just like an mmo. So when the character comes near a tree, the tree would block him and he needs to go around it.
Thanks