rename GetBone to GetBoneTRS in zscript
This commit is contained in:
parent
5c74250b73
commit
097c99032c
2 changed files with 4 additions and 4 deletions
|
|
@ -5947,7 +5947,7 @@ DEFINE_ACTION_FUNCTION(AActor, GetNamedBoneBaseRotation)
|
|||
//
|
||||
//================================================
|
||||
|
||||
DEFINE_ACTION_FUNCTION(AActor, GetBone)
|
||||
DEFINE_ACTION_FUNCTION(AActor, GetBoneTRS)
|
||||
{
|
||||
PARAM_SELF_PROLOGUE(AActor);
|
||||
PARAM_INT(bone_index);
|
||||
|
|
@ -5987,7 +5987,7 @@ DEFINE_ACTION_FUNCTION(AActor, GetBone)
|
|||
return numret;
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(AActor, GetNamedBone)
|
||||
DEFINE_ACTION_FUNCTION(AActor, GetNamedBoneTRS)
|
||||
{
|
||||
PARAM_SELF_PROLOGUE(AActor);
|
||||
PARAM_NAME(bone_name);
|
||||
|
|
|
|||
|
|
@ -1476,8 +1476,8 @@ class Actor : Thinker native
|
|||
//================================================
|
||||
|
||||
/* rotation, translation, scaling, doesn't include parent bones */
|
||||
native version("4.15.1") Quat, Vector3, Vector3 GetBone(int boneIndex, bool include_offsets = true);
|
||||
native version("4.15.1") Quat, Vector3, Vector3 GetNamedBone(Name boneName, bool include_offsets = true);
|
||||
native version("4.15.1") Quat, Vector3, Vector3 GetBoneTRS(int boneIndex, bool include_offsets = true);
|
||||
native version("4.15.1") Quat, Vector3, Vector3 GetNamedBoneTRS(Name boneName, bool include_offsets = true);
|
||||
|
||||
native version("4.15.1") Vector3, Vector3 TransformByBone(int boneIndex, Vector3 position, Vector3 direction = (0,0,0), bool include_offsets = true);
|
||||
native version("4.15.1") Vector3, Vector3 TransformByNamedBone(Name boneName, Vector3 position, Vector3 direction = (0,0,0), bool include_offsets = true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue