HackerPoet / NonEuclidean

A Non-Euclidean Rendering Engine for 3D scenes.
MIT License
6.04k stars 579 forks source link

No collisions on some objects #16

Closed AngryCarrot789 closed 4 years ago

AngryCarrot789 commented 4 years ago

The tunnel seems to be the only object with collisions, however others (like the bunny and tea pot) dont have and you can walk right through them. image

marcofs commented 4 years ago

Objects have no collisions by default, they’re just visual models. Those tunnel collisions were hardcoded by @HackerPoet.

AngryCarrot789 commented 4 years ago

oh right. i though it calculated the collisions using the mesh details but apparently not.

marcofs commented 4 years ago

calculated the collisions using the mesh details

You can always challenge yourself and try to implement that into the engine.

AngryCarrot789 commented 4 years ago

hmm i barely know how to draw a triangle in opengl. could give it a try tho