How do I get the bone coordinates of a certain bone? I need to get the coordinates from the player's feet. I know how to get this if I were using the player mesh, but not if I am using a model without a bone.
example:
This should work for the players foot... if the mesh was being used by the file. Is there any way to call the player meshes so I can use the default bones? I need to bind something to the players feet, and this will be very helpful. Currently, if I use this code, the object will spawn over 500m away from me.
Am I going about this all wrong?
example:
Code:
var something lol;
local [b]coords[/b] rofl;
rofl = [b]GetBoneCoords('[/b]Bip01 L Foot[b]');[/b]
lol = [b]Spawn(class'classtospawn', self,, rofl.origin);[/b]
This should work for the players foot... if the mesh was being used by the file. Is there any way to call the player meshes so I can use the default bones? I need to bind something to the players feet, and this will be very helpful. Currently, if I use this code, the object will spawn over 500m away from me.
Am I going about this all wrong?