Archived

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

yanuart

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

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