Skip to content

Commit

Permalink
add Gravity gun to some demo scenes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicogo1705 committed Jan 18, 2024
1 parent 49f7ab6 commit e20ec57
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,10 @@ Hierarchy:
SortingMode: ByTime
FilteringMode: Fps
ResultPage: 1
3e9e8d6e7b24d918d3823713e8c37068: !Stride.BepuPhysics.Demo.Components.Utils.GravityGunComponent,Stride.BepuPhysics.Demo
Id: 87114be3-98e3-4bf8-9346-627867f07f8a
Camera: ref!! 6b596901-2d10-42e2-bfeb-5f7cad34f49a
SimIndex: 1
d2a1aba10bc6c540b3a7b9c522852328: !Stride.BepuPhysics.Demo.Components.Utils.TimeControlComponent,Stride.BepuPhysics.Demo
Id: 7d2ba482-6949-4481-a60a-fa8c769c71a6
SimulationIndex: 1
Expand Down
4 changes: 4 additions & 0 deletions Stride.BepuPhysics.Demo/Assets/Scenes/8.Navigation.sdscene
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,10 @@ Hierarchy:
SortingMode: ByTime
FilteringMode: Fps
ResultPage: 1
420e0dfada63da604447e0a66b3b5e3a: !Stride.BepuPhysics.Demo.Components.Utils.GravityGunComponent,Stride.BepuPhysics.Demo
Id: fcd89100-f628-4ac3-8639-ffc6122fd8da
Camera: ref!! 5053253a-92d6-4d44-84c6-f523b3a6b0fc
SimIndex: 0
d2a1aba10bc6c540b3a7b9c522852328: !Stride.BepuPhysics.Demo.Components.Utils.TimeControlComponent,Stride.BepuPhysics.Demo
Id: a4451c61-1b8b-4c56-a568-a8cf372424a8
SimulationIndex: 0
Expand Down
8 changes: 6 additions & 2 deletions Stride.BepuPhysics.Demo/Assets/Scenes/9.Demo.sdscene
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ Hierarchy:
c4be3cde9267c1a84ebd34fce78c8e1e: ref!! fdb4eab0-70be-4b54-9eab-de347caed944
2de7129a3af3a0a764eb2962d5236ecb: ref!! 89d9ebd9-70c2-4b77-8e09-db6c6a98308d
46d3e0466c59e94eb920dcace9871a76: !Stride.BepuPhysics.Components.Constraints.HingeConstraintComponent,Stride.BepuPhysics
Id: f2b4f116-e9f9-44b1-955c-a4495d8d2658
Id: 1d6c27c1-1d53-4b2f-951f-4d089cd2f9dd
Enabled: true
A: !Stride.BepuPhysics.Components.Containers.BodyContainerComponent,Stride.BepuPhysics ref!! b9ffe6bf-b37b-41f7-ad06-f9fda610e08c
B: !Stride.BepuPhysics.Components.Containers.BodyContainerComponent,Stride.BepuPhysics ref!! befd947e-d1a5-4a14-9423-d272129d4ae5
Expand All @@ -272,7 +272,7 @@ Hierarchy:
SpringFrequency: 30.0
SpringDampingRatio: 3.0
82adb9d9847f9eab8cefae5aa42e7be3: !Stride.BepuPhysics.Components.Constraints.OneBodyAngularMotorConstraintComponent,Stride.BepuPhysics
Id: 14142c5d-49a4-4f04-b68e-5e294ac6220a
Id: f7523f14-1d92-49b3-80cf-e0fab803c1cd
Enabled: true
A: !Stride.BepuPhysics.Components.Containers.BodyContainerComponent,Stride.BepuPhysics ref!! b9ffe6bf-b37b-41f7-ad06-f9fda610e08c
TargetVelocity: {X: 0.0, Y: 0.5, Z: 0.0}
Expand Down Expand Up @@ -306,6 +306,10 @@ Hierarchy:
SortingMode: ByTime
FilteringMode: Fps
ResultPage: 1
5fd6488be037a607d143da8a06b96fcc: !Stride.BepuPhysics.Demo.Components.Utils.GravityGunComponent,Stride.BepuPhysics.Demo
Id: 3baf0844-433b-41bd-928d-fd84d4e16fa3
Camera: ref!! 262cb5ce-c21d-44e1-aa32-4417cf02206e
SimIndex: 2
d2a1aba10bc6c540b3a7b9c522852328: !Stride.BepuPhysics.Demo.Components.Utils.TimeControlComponent,Stride.BepuPhysics.Demo
Id: 07390e70-d3f6-4541-9e22-3feea438321a
SimulationIndex: 2
Expand Down

0 comments on commit e20ec57

Please sign in to comment.