Just trying to get a way for the rotation and position to be set
Seems to work
AWPRigidBody.as
public function AWPRigidBody(shape : AWPCollisionShape, skin : ObjectContainer3D = null, mass : Number = 0) {
if (skin)
{
var rot:Vector3D = new Vector3D(skin.rotationX, skin.rotationY, skin.rotationZ);
var pos:Vector3D = skin.position;
}
pointer = bullet.createBodyMethod(this, shape.pointer, mass);
super(pointer, shape, skin);
if (skin)
{
this.rotation = rot;
this.position = pos;
}
//...