Manipulating Meshes dynamically
Manipulating Meshes dynamically
Is it possible to implement a way to dynamically manipulate a 3D Mesh? Let say a that a mesh in the shape of a car hits a pole and deforms?
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Re: Manipulating Meshes dynamically
If you want to manually (or programatically) deform a mesh by specifying new coords for each vertex, you can do that with static meshes (IMesh), example 23 or so will show how to. If you have an animated one, i.e. you have animation anyway, you have two options. Either use the animation directly (provide some frames which show the deformation and switch to that animation sequence after the crash) or manipulate the bones manually afterwards. There are no examples in the SDK, but the forum shoudl provide some guidance for this scenario.
Re: Manipulating Meshes dynamically
Thanks for the respond, this helps me immensely.