Jump to content
  • Advertisement
Sign in to follow this  
hother

Moving surface

This topic is 4829 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

I am trying to create a mesh with a moving surface, the mesh has to be stationary but the surface is moving. To illustrate what I mean, take for example a conveyor, this object is stationary but the surface is moving. I need to transfer the power of the surface to objects in contact with the surface so I need something more than a animated surface. (I’am working with DirectX 9.0 and C#) If there is any suggestions out there I will be very thankful.

Share this post


Link to post
Share on other sites
Advertisement
DirectX meshes cannot "transfer power" automatically - D3D is just a graphics API, and you describe a physics problem.

You could limit the area of calculation, though, by assigning an unique subset index to the conveyor belt (or whatever) to mark it as an entity for which the physics should be calculated.

Other than that, you have to use some kind of physics library for the actual object interaction calculation - be it your own or some of the physics libraries out there.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!