feat: created car player scene
This commit is contained in:
		
							parent
							
								
									123387c6c6
								
							
						
					
					
						commit
						0cf28eb644
					
				
							
								
								
									
										39
									
								
								godot/car_player.tscn
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								godot/car_player.tscn
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,39 @@
 | 
				
			||||||
 | 
					[gd_scene load_steps=5 format=3 uid="uid://dkvgi7x2epurk"]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_vwjm3"]
 | 
				
			||||||
 | 
					friction = 0.0
 | 
				
			||||||
 | 
					rough = true
 | 
				
			||||||
 | 
					absorbent = true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[sub_resource type="BoxShape3D" id="BoxShape3D_upk84"]
 | 
				
			||||||
 | 
					size = Vector3(2, 4, 1.55)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[sub_resource type="BoxMesh" id="BoxMesh_xt30h"]
 | 
				
			||||||
 | 
					size = Vector3(2, 1.55, 4)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[sub_resource type="BoxMesh" id="BoxMesh_t424e"]
 | 
				
			||||||
 | 
					size = Vector3(1.4, 1.43, 0.465)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[node name="CarPlayer" type="CarPlayer"]
 | 
				
			||||||
 | 
					transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.709296, 0)
 | 
				
			||||||
 | 
					mass = 1000.0
 | 
				
			||||||
 | 
					physics_material_override = SubResource("PhysicsMaterial_vwjm3")
 | 
				
			||||||
 | 
					center_of_mass_mode = 1
 | 
				
			||||||
 | 
					can_sleep = false
 | 
				
			||||||
 | 
					custom_integrator = true
 | 
				
			||||||
 | 
					continuous_cd = true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
 | 
				
			||||||
 | 
					transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0.818, 0)
 | 
				
			||||||
 | 
					shape = SubResource("BoxShape3D_upk84")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
 | 
				
			||||||
 | 
					transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.818, 0)
 | 
				
			||||||
 | 
					mesh = SubResource("BoxMesh_xt30h")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[node name="MeshInstance3D2" type="MeshInstance3D" parent="."]
 | 
				
			||||||
 | 
					transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.867176, 2.12183)
 | 
				
			||||||
 | 
					mesh = SubResource("BoxMesh_t424e")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[node name="Camera3D" type="Camera3D" parent="."]
 | 
				
			||||||
 | 
					transform = Transform3D(-1, 0, -8.74228e-08, -2.87879e-08, 0.944227, 0.329295, 8.25469e-08, 0.329295, -0.944227, 0, 6.34508, -6.93722)
 | 
				
			||||||
		Loading…
	
		Reference in a new issue