Files
gamejamgame/addons/pinjoint-ropephysics/rigid_body_3d.tscn
T
2026-07-25 16:10:50 +12:00

23 lines
878 B
Plaintext

[gd_scene format=3 uid="uid://dwd6ekhtmle0x"]
[ext_resource type="Script" uid="uid://cs7qcnta84qhc" path="res://pinjoint-ropephysics-example/scripts/projectile.gd" id="1_pda7w"]
[ext_resource type="Material" uid="uid://cla83y5h0026e" path="res://addons/pinjoint-ropephysics/materials/light_rope.tres" id="2_vs7vu"]
[sub_resource type="SphereShape3D" id="SphereShape3D_v8hb4"]
radius = 0.2
[sub_resource type="SphereMesh" id="SphereMesh_5yrm1"]
radius = 0.2
height = 0.4
[node name="Projectile" type="RigidBody3D" unique_id=798993199]
mass = 10.0
script = ExtResource("1_pda7w")
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=1227402127]
shape = SubResource("SphereShape3D_v8hb4")
[node name="MeshInstance3D" type="MeshInstance3D" parent="." unique_id=402814720]
material_override = ExtResource("2_vs7vu")
mesh = SubResource("SphereMesh_5yrm1")