Wintermute Engine Forum
Wintermute Engine => Technical forum => Topic started by: tinchopunk on June 07, 2005, 03:28:33 AM
-
Ok i want to make something in 3d like mi character (the same bones of the 3d example) pick a chair and move it.
1st)Take the chair with one hand
2nd)move my character with the chair everywhere
3rd)place the chair anywehere
4th)the chair you can´t transpace sorry my english but i think everybody know that an object in wintermute it´s like transparent...
so any help???
thanks
MArtin
-
Picking up an object and attaching it to the 3D actor is shown in WME 3D Demo (the teapot). Simply put, you hide the object in scene and attach it to the actor by calling actor.AddMesh(). To place it back to scene do the reverse process. Remove it from the actor (actor.RemoveMesh) and show the object in scene and set it's position by setting the X and Y attributes.
-
thanks Mnemonic
-
Aaaah I didn't know such a command already existed! I was thinking AddMesh did something different.