Skip to content

Commit

Permalink
docs: Warning message added across all Bullet pages
Browse files Browse the repository at this point in the history
  • Loading branch information
VaclavElias committed Dec 8, 2024
1 parent c612825 commit 430248f
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 0 deletions.
2 changes: 2 additions & 0 deletions en/manual/physics-bullet/collider-shapes.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<span class="badge text-bg-primary">Beginner</span>
<span class="badge text-bg-success">Designer</span>

[!INCLUDE [bullet-deprecation](../../includes/bullet-physics-deprecation.md)]

For [colliders](colliders.md) to interact, you need to set their shape in the **Property Grid**. You can specify a geometric shape, or use a collider shape asset.

![Select a collider shape](media/select-collider-shape.png)
Expand Down
2 changes: 2 additions & 0 deletions en/manual/physics-bullet/colliders.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<span class="badge text-bg-primary">Beginner</span>
<span class="badge text-bg-success">Designer</span>

[!INCLUDE [bullet-deprecation](../../includes/bullet-physics-deprecation.md)]

To use physics in your project, add a **collider** component to an entity.

Colliders define the shapes and rules of physics objects. There are three types:
Expand Down
2 changes: 2 additions & 0 deletions en/manual/physics-bullet/constraints.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Constraints

[!INCLUDE [bullet-deprecation](../../includes/bullet-physics-deprecation.md)]

[!INCLUDE [stride-studio-note](../../includes/under-construction-note.md)]

<span class="badge text-bg-primary">Advanced</span>
Expand Down
2 changes: 2 additions & 0 deletions en/manual/physics-bullet/create-a-bouncing-ball.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<span class="badge text-bg-primary">Beginner</span>
<span class="badge text-bg-success">Designer</span>

[!INCLUDE [bullet-deprecation](../../includes/bullet-physics-deprecation.md)]

In this tutorial, we'll use the [static collider and rigidbody components](colliders.md) to create a ball bouncing on a floor.

>[!Note]
Expand Down
2 changes: 2 additions & 0 deletions en/manual/physics-bullet/fix-physics-jitter.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<span class="badge text-bg-primary">Beginner</span>
<span class="badge text-bg-success">Programmer</span>

[!INCLUDE [bullet-deprecation](../../includes/bullet-physics-deprecation.md)]

In Stride, there is no default smoothing applied to entities that are attached to physics entities. This can cause noticeable jitter, especially if the camera is attached to a character component.

In this tutorial, we will explore how to add smoothing to an entity using a SyncScript.
Expand Down
2 changes: 2 additions & 0 deletions en/manual/physics-bullet/kinematic-rigid-bodies.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Kinematic rigidbodies

[!INCLUDE [bullet-deprecation](../../includes/bullet-physics-deprecation.md)]

Sometimes you want to move [rigidbodies](rigid-bodies.md) in a specific way rather than have other objects move them. For example, you might control an elevator with a script, via its `Transform` property, rather than have other objects push and pull it. This is a **kinematic** rigidbody.

Although kinematic rigidbodies aren't moved by physics, other objects can still collide with them. For example, in the case of the elevator, objects placed inside won't fall through the elevator floor.
Expand Down
2 changes: 2 additions & 0 deletions en/manual/physics-bullet/raycasting.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<span class="badge text-bg-primary">Intermediate</span>
<span class="badge text-bg-success">Programmer</span>

[!INCLUDE [bullet-deprecation](../../includes/bullet-physics-deprecation.md)]

**Raycasting** traces an invisible line through the scene to find intersecting [colliders](colliders.md). This is useful, for example, to check which objects are in a gun's line of fire, or are under the mouse cursor when the user clicks.

>[!Note]
Expand Down
2 changes: 2 additions & 0 deletions en/manual/physics-bullet/rigid-bodies.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<span class="badge text-bg-primary">Beginner</span>
<span class="badge text-bg-success">Designer</span>

[!INCLUDE [bullet-deprecation](../../includes/bullet-physics-deprecation.md)]

**Rigidbodies** move based on physical forces applied to them, such as gravity and collisions. Typical rigidbodies are boxes, balls, furniture, and so on — objects that are pushed, pulled, and knocked around, and also have effects on other rigidbodies they collide with.

![Static and rigidbody colliders](media/rigid-bodies-static-and-rigid-body-colliders.png)
Expand Down
2 changes: 2 additions & 0 deletions en/manual/physics-bullet/script-a-trigger.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<span class="badge text-bg-primary">Beginner</span>
<span class="badge text-bg-success">Designer</span>

[!INCLUDE [bullet-deprecation](../../includes/bullet-physics-deprecation.md)]

In this tutorial, we'll create a [trigger](../physics/triggers.md) that doubles the size of a ball when the ball passes through it.

>[!Note]
Expand Down
2 changes: 2 additions & 0 deletions en/manual/physics-bullet/simulation.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<span class="badge text-bg-primary">Intermediate</span>
<span class="badge text-bg-success">Programmer</span>

[!INCLUDE [bullet-deprecation](../../includes/bullet-physics-deprecation.md)]

Stride's physics are controlled by the [Simulation](xref:Stride.Physics.Simulation) class.
You can change how Stride initializes the [simulation](xref:Stride.Physics.Simulation) by modifying flags in [PhysicsSettings](xref:Stride.Physics.PhysicsSettings), accessed in the **GameSettings** asset properties.

Expand Down
2 changes: 2 additions & 0 deletions en/manual/physics-bullet/static-colliders.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<span class="badge text-bg-primary">Beginner</span>
<span class="badge text-bg-success">Designer</span>

[!INCLUDE [bullet-deprecation](../../includes/bullet-physics-deprecation.md)]

**Static colliders** aren't moved by forces such as gravity and collisions, but other physics objects can bump into them. Typical static colliders are strong immovable objects like walls, floors, large rocks, and so on.

![Static and rigidbody colliders](media/rigid-bodies-static-and-rigid-body-colliders.png)
Expand Down
2 changes: 2 additions & 0 deletions en/manual/physics-bullet/triggers.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<span class="badge text-bg-primary">Beginner</span>
<span class="badge text-bg-success">Designer</span>

[!INCLUDE [bullet-deprecation](../../includes/bullet-physics-deprecation.md)]

If you set a collider to be a **trigger**, other colliders no longer bump into it. Instead, they pass through.

The trigger detects when colliders enter it, which you can use to script events. For example, you can detect when a player character enters a room, and use this in your script to trigger an event. For more information, see [Events](../scripts/events.md).
Expand Down
2 changes: 2 additions & 0 deletions en/manual/physics-bullet/tutorials.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Tutorials

[!INCLUDE [bullet-deprecation](../../includes/bullet-physics-deprecation.md)]

* [Create a bouncing ball](create-a-bouncing-ball.md): Use the static collider and rigidbody components to create a ball bouncing on a floor.
* [Script a trigger](script-a-trigger.md): Create a trigger that doubles the size of a ball when the ball passes through it.

0 comments on commit 430248f

Please sign in to comment.