Jump to content

View more

Image of the Day

#ld38 #screenshotsaturday Mimosa Fizz action gif #2 https://t.co/TUzdppvfUL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

No collision detection with back faces in voxel game, Unity 3D. HELP!

4: Adsense

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 Kiel368   Members   

239
Like
0Likes
Like

Posted 09 November 2012 - 04:17 PM

Hello everyone!

I'm creating a voxel game in Unity (sth. like Minecraft), and i've got a serious problem: There's no collision with backfaces (back, left and bottom block faces do not have collision). I've already tried switching all normals to positive or replacing left face with right face - 1.I think that Unity or physics engine recalculates normals somewhere, what makes backfaces come back.

PLEASE! Help me, my project is stopped for this reason and i've no idea!

#2 tanzanite7   Members   

1410
Like
0Likes
Like

Posted 12 November 2012 - 03:55 PM

No idea about Unity specifically ... but it sounds like your vertex order is wrong for some faces. They should all be counter clock wise (which is the usual default for front face).




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.