Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    Physics

    Physics in Stride

    Stride simulates real-world physics such as gravity and collisions. This section explains how physics components work, how to add them to your project, and how to use them with scripts.

    In this section

    • Colliders: Create physics by adding collider components to entities
      • Static colliders: Colliders that don't move
      • Rigidbodies: Moving objects, affected by gravity and collisions
      • Kinematic rigidbodies: Physics objects controlled by scripts
      • Characters: Colliders for characters (such as player characters and NPCs)
      • Collider shapes: Define the shape of collider components
      • Triggers: Use triggers to detect passing objects
      • Constraints: Create appealing and realistic physics
    • Raycasting: Trace intersecting objects
    • Simulation: How Stride controls physics

    Tutorials

    • Create a bouncing ball: Use the static collider and rigidbody components to create a ball bouncing on a floor
    • Script a trigger: Create a trigger that doubles the size of a ball when the ball passes through it

    Further reference

    Stride uses the open-source Bullet Physics engine. For detailed information, see the Bullet User Manual.

    • Improve this Doc
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation