Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

yanuart

How can I attach something on a non planar (flat) surfaces ?

This topic is 5699 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi guys, how do you compute non planar plane ? the reason is, I usually uses plane equation to determine the character''s position on the ground, and it works for a flat surfaces.. but for ex. for a skater in a half pipe how do you make the skater attach to the halfpipe all the time, since it also has some round surface (halfpipe) ??

Share this post


Link to post
Share on other sites
Advertisement
Non-planar plane...*smirks*

Sorry, I don''t really have a solution to your problem without knowing more about your implementation, but I couldn''t resist snickering at that....non-planar plane. *shakes head and grins*

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
A halfpipe isn''t a plane, is it? It''s usually a mesh. Thus, you need to stick your player to a mesh.

Look on the web for, for example, "sphere-mesh collision".

http://www.magic-software.com/ usually has decent code.

OPCODE is another useful collision package.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!