mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2025-12-31 09:49:06 +03:00
- 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.
16 lines
669 B
Plaintext
16 lines
669 B
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://cl2vpuxqgnylc"]
|
|
|
|
[ext_resource type="Shape3D" path="res://assets/robot_head/godot3_robot_head_collision.tres" id="1"]
|
|
[ext_resource type="PackedScene" uid="uid://3gkujifjokqw" path="res://tests/static_scene_plane.tscn" id="3"]
|
|
|
|
[node name="StaticScene" type="Node3D"]
|
|
|
|
[node name="StaticBodyPlane" parent="." instance=ExtResource("3")]
|
|
|
|
[node name="StaticBodyHead" type="StaticBody3D" parent="."]
|
|
transform = Transform3D(10, 0, 0, 0, 8.66025, 5, 0, -5, 8.66025, 0, -11.1389, 2.29332)
|
|
|
|
[node name="CollisionShape" type="CollisionShape3D" parent="StaticBodyHead"]
|
|
shape = ExtResource("1")
|
|
debug_color = Color(0, 0.533333, 1, 1)
|