Skip to main content
2 of 2
deleted 29 characters in body; edited title
stighy
  • 467
  • 6
  • 32
  • 60

How to "place" object in a 3d world without overlapping them ?

I would like to place object in a 3d world "like minecraft player can do".

What I'm trying to do is to allow the user to place objects, without overlapping them (like in minecraft you can do).

So if the player try to place an object partially over another, my game automatically "move and place" the object in the allowed position.

What can be the right approach ?

stighy
  • 467
  • 6
  • 32
  • 60