We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 500bd16 commit a8afa81Copy full SHA for a8afa81
Uchu.StandardScripts/AvantGardens/BusDoor.cs
@@ -23,12 +23,13 @@ public override Task LoadAsync()
23
movingPlatformComponent.Stop();
24
25
var physics = gameObject.AddComponent<PhysicsComponent>();
26
- var physicsObject = BoxBody.Create(
+
27
+ var physicsObject = CylinderBody.Create(
28
gameObject.Zone.Simulation,
29
gameObject.Transform.Position,
- gameObject.Transform.Rotation,
30
- new Vector3(190,190,190)
31
- );
+ gameObject.Transform.Rotation,
+ new Vector2(85, 190));
32
33
physics.SetPhysics(physicsObject);
34
35
// Set up players entering and leaving.
0 commit comments