Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

3D Boundaries


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 Believe82   Members   -  Reputation: 103

Like
0Likes
Like

Posted 11 March 2013 - 06:06 PM

Hi everyone,

 

I was just wondering for creating 3D boundaries, is it as simple as 2D boundaries? Where I just have to check if my sprite is >= boundary.x or <= -boundary.x, and do the same for boundary.x, and boundary.z. If they are are the bounds then i simply move my sprite's position back. Is this the ideal way of creating boundaries in 3D games?

Thank you!



Ad:

#2 MichaelNIII   Members   -  Reputation: 194

Like
1Likes
Like

Posted 11 March 2013 - 06:22 PM

That's the idea. Solving a lot of 3d issues by first understanding it in 2d and then adding the 3d demention often makes it easier to understand. I would suggest using bounding spheres first, then boxes, and then the triangle planes themselves if you need to be that accurate. At least if you intend on checking a lot of objects for collisions




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS