vec_to_bone and ang_to_bone

Posted By: Roel

vec_to_bone and ang_to_bone - 06/17/06 14:28

there are the vec_for_bone() and ang_for_bone() functions,
but why there are no vec_to_bone() and ang_to_bone() functions?
maybe they can be useful...

maybe they are already implemented, but I haven't seen them...
Posted By: Straight_Heart

Re: vec_to_bone and ang_to_bone - 06/18/06 04:22

1. vec_for_bone = finds the vector position a specified bone is in.
2. ang_for_bone = finds the angle a specified bone is in.

I assume that your ang_TO_bone would be a function to manually set the bone to a certain position right?.......look up "ent_bonerotate" in the manual.
Posted By: Roel

Re: vec_to_bone and ang_to_bone - 06/27/06 16:35

I know they exist, but they are local functions.
ent_bonemove just moves a bone rotated by the entity's bones

and maybe it's useful to add these functions because they jest set the bone
to a position, also useful for a laser or something
© 2024 lite-C Forums