Skip to content

Commit a8afa81

Browse files
committed
use cylinder instead of box
1 parent 500bd16 commit a8afa81

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Uchu.StandardScripts/AvantGardens/BusDoor.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,13 @@ public override Task LoadAsync()
2323
movingPlatformComponent.Stop();
2424

2525
var physics = gameObject.AddComponent<PhysicsComponent>();
26-
var physicsObject = BoxBody.Create(
26+
27+
var physicsObject = CylinderBody.Create(
2728
gameObject.Zone.Simulation,
2829
gameObject.Transform.Position,
29-
gameObject.Transform.Rotation,
30-
new Vector3(190,190,190)
31-
);
30+
gameObject.Transform.Rotation,
31+
new Vector2(85, 190));
32+
3233
physics.SetPhysics(physicsObject);
3334

3435
// Set up players entering and leaving.

0 commit comments

Comments
 (0)