OverviewFilesCommitsIssuesDocsReleasesPeers

godot-marble_madness_demo / player / ball / player_ball.tscn

25 lines · tscn ref:
[gd_scene load_steps=4 format=2]

[ext_resource path="res://assets/models/pixar-ball/pixar-ball.tscn" type="PackedScene" id=1]

[sub_resource type="PhysicsMaterial" id=2]
friction = 0.0
rough = true

[sub_resource type="SphereShape" id=1]

[node name="PlayerBall" type="RigidBody"]
physics_material_override = SubResource( 2 )

[node name="CollisionShape" type="CollisionShape" parent="."]
transform = Transform( 0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0, 0, 0 )
shape = SubResource( 1 )

[node name="asset" parent="." instance=ExtResource( 1 )]

[node name="OmniLight" type="OmniLight" parent="."]
light_color = Color( 0, 0.717647, 1, 1 )
light_energy = 16.0
light_bake_mode = 0
omni_range = 0.175