Implement SpringBoneSimulator3D to wiggle chained bones

Co-authored-by: lyuma <xn.lyuma@gmail.com>
Co-authored-by: fire <ernest.lee@chibifire.com>
Co-authored-by: SaracenOne <SaracenOne@gmail.com>
This commit is contained in:
Silc Lizard (Tokage) Renew
2025-01-11 12:58:22 +09:00
parent 21a6bd8dca
commit 5472558a98
28 changed files with 3853 additions and 11 deletions

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="SpringBoneCollisionSphere3D" inherits="SpringBoneCollision3D" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
<brief_description>
A sphere shape collision that interacts with [SpringBoneSimulator3D].
</brief_description>
<description>
A sphere shape collision that interacts with [SpringBoneSimulator3D].
</description>
<tutorials>
</tutorials>
<members>
<member name="inside" type="bool" setter="set_inside" getter="is_inside" default="false">
If [code]true[/code], the collision acts to trap the joint within the collision.
</member>
<member name="radius" type="float" setter="set_radius" getter="get_radius" default="0.1">
The sphere's radius.
</member>
</members>
</class>