class-description
NEWS
COMMUNITY
STORE
TUTORIALS
SIGN UP
LOGIN
LOGOUT
ROKOJORI
NEWSLETTER
SIGN UP
LOGIN
LOGOUT
NEWS
COMMUNITY
STORE
TUTORIALS
TOGGLE FULLSCREEN
VOLLBILD AN/AUS
Object
Node
Node3D
SpringBoneCollision3D
A base class of the collision that interacts with
SpringBoneSimulator3D
.
A collision can be a child of
SpringBoneSimulator3D
. If it is not a child of
SpringBoneSimulator3D
, it has no effect.
The colliding and sliding are done in the
SpringBoneSimulator3D
's modification process in order of its collision list which is set by [method SpringBoneSimulator3D.set_collision_path]. If [method SpringBoneSimulator3D.are_all_child_collisions_enabled] is
true
, the order matches
SceneTree
.
If
bone
is set, it synchronizes with the bone pose of the ancestor
Skeleton3D
, which is done in before the
SpringBoneSimulator3D
's modification process as the pre-process.
Warning:
A scaled
SpringBoneCollision3D
will likely not behave as expected. Make sure that the parent
Skeleton3D
and its bones are not scaled.
set get
int
bone
<>
()
:
int
set get
The index of the attached bone.
set get
String
bone_name
<>
()
:
String
set get
The name of the attached bone.
set get
Vector3
position_offset
<>
()
:
Vector3
set get
The offset of the position from
Skeleton3D
's
bone
pose position.
set get
Quaternion
rotation_offset
<>
()
:
Quaternion
set get
The offset of the rotation from
Skeleton3D
's
bone
pose rotation.
Skeleton3D
get_skeleton
<>
()
:
Skeleton3D
Get parent
Skeleton3D
node of the parent
SpringBoneSimulator3D
if found.
All social media brands are registrated trademarks and belong to their respective owners.
CONTACT
IMPRINT
TERMS OF USE
PRIVACY
© ROKOROJI ® 2021
rokojori.com
CONTACT
IMPRINT
TERMS OF USE
PRIVACY
© ROKOROJI ® 2021
rokojori.com
We are using cookies on this site.
Read more...
Wir benutzen Cookies auf dieser Seite.
Mehr lesen...