adds bones to arm
This commit is contained in:
parent
d56afda1b6
commit
8f22164693
7 changed files with 40 additions and 2 deletions
BIN
assets/grabby_arm.glb
Normal file
BIN
assets/grabby_arm.glb
Normal file
Binary file not shown.
36
assets/grabby_arm.glb.import
Normal file
36
assets/grabby_arm.glb.import
Normal file
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://bfl07odl08flq"
|
||||
path="res://.godot/imported/grabby_arm.glb-61b1ca51bb1d2cab30cfe34aef350c5e.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/grabby_arm.glb"
|
||||
dest_files=["res://.godot/imported/grabby_arm.glb-61b1ca51bb1d2cab30cfe34aef350c5e.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={}
|
||||
gltf/naming_version=1
|
||||
gltf/embedded_image_handling=1
|
Binary file not shown.
Binary file not shown.
|
@ -76,4 +76,4 @@ skeleton = NodePath("../..")
|
|||
shape = SubResource("BoxShape3D_qcnmp")
|
||||
|
||||
[node name="Body" parent="World" instance=ExtResource("1_eeca8")]
|
||||
transform = Transform3D(-0.405636, -0.914035, 0, 0.914035, -0.405636, 0, 0, 0, 1, 0, 11.4413, 0)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 11.4413, 0)
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
[ext_resource type="Script" path="res://scripts/arm.gd" id="2_q356t"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_n1pfp"]
|
||||
size = Vector3(0.644104, 0.808441, 3.22046)
|
||||
size = Vector3(0.644104, 0.871033, 3.22046)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_wl42l"]
|
||||
|
||||
|
@ -142,6 +142,7 @@ action = &"ActivateArm1"
|
|||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 10.1212, 0)
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.013031, -0.0264587, 0.0211182)
|
||||
shape = SubResource("BoxShape3D_n1pfp")
|
||||
|
||||
[node name="Skeleton3D" type="Skeleton3D" parent="."]
|
||||
|
|
|
@ -7,6 +7,7 @@ class_name Arm extends Node3D
|
|||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
$Skeleton3D/PhysicalBoneSimulator3D.physical_bones_start_simulation()
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue