Files
godot-demo-projects/3d/physics_tests/tests/functional/test_joints.tscn
Hugo Locurcio a531235db3 Use Jolt Physics in all 3D demos that use physics, improve physics tests demos (#1195)
- Add options for physics ticks per second, time scale, max physics steps per frame
  and physics interpolation to the 2D and 3D physics tests demos.
  - Physics ticks per second are always multiplied by time scale so that
    time scale does not affect the physics simulation quality.
- Enable 4× MSAA for better debug shape display. Remove meshes/lights as
  the debug collision fill make these unnecessary.
  - Switch to the Mobile rendering method in the 2D physics tests demo
    to allow for 2D MSAA, as it's not implemented in Compatibility yet.
- Improve collision shapes color in the 2D and 3D physics tests demos
  for better visibility. Each PhysicsBody type now has its own collision
  shape color.
2025-04-21 21:59:31 +02:00

36 lines
1.2 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://ff88axeu4fvf"]
[ext_resource type="Script" uid="uid://cx8vo58lobtgu" path="res://utils/camera_orbit.gd" id="1"]
[ext_resource type="Script" uid="uid://bjsln0okk343c" path="res://tests/functional/test_joints.gd" id="2"]
[ext_resource type="PackedScene" uid="uid://b1ihqm3x8jru" path="res://tests/test_options.tscn" id="3"]
[node name="Test" type="Node3D"]
script = ExtResource("2")
[node name="LabelJointType" type="Label" parent="."]
offset_left = 14.0
offset_top = 78.0
offset_right = 171.0
offset_bottom = 92.0
text = "Joint Type: "
[node name="Options" parent="." instance=ExtResource("3")]
[node name="Joints" type="Node3D" parent="."]
[node name="PinJoint" type="PinJoint3D" parent="Joints"]
[node name="HingeJoint" type="HingeJoint3D" parent="Joints"]
[node name="SliderJoint" type="SliderJoint3D" parent="Joints"]
[node name="ConeTwistJoint" type="ConeTwistJoint3D" parent="Joints"]
[node name="Generic6DOFJoint" type="Generic6DOFJoint3D" parent="Joints"]
[node name="Objects" type="Node3D" parent="."]
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 6.19796)
script = ExtResource("1")