HoloFair SDK V4
  • 🛠️Welcome to HoloFair SDK
  • Development
    • ⚙️Initial Setup
      • Start Here
      • Setup Addressables
      • Updating HoloFair SDK in an existing project
      • Scenes & Layers
      • Portals
      • WorldSettings
      • Build & Upload Addressables
        • CloudFront
        • BunnyCDN
      • Pubish & Test your Metaverse
    • ⭐Features
      • Text
      • Respawn
      • Link
      • Image
      • Video
      • TalkZone
      • Emote
      • Timer
      • Add Force
      • Animated Objects
      • Special/VIP content
      • Localization
      • Timeline
      • Focus Point
      • REST API Integration
        • Serialized Variables
        • Smart String
      • Interaction Events
        • Use Cases for Interaction Events
      • Editing Values
      • Control Locker
    • ‼️Important
      • Format of 3D Assets
      • 🆔GUIDs
  • Guides
    • Custom User Authentication
Powered by GitBook
On this page
  1. Development
  2. Features

Add Force

Parkour and fun run games with physics based courses

PreviousTimerNextAnimated Objects

Last updated 2 years ago

In order to create fun, physics-based games, you'll need ways to affect the player's physics component. AddForceView allows you to apply force on the player in specific conditions.

Create an GameObject with AddForceView and GuidComponent.

This applies a force to the player in the direction of the local up of this object. The force is multiplied by Value. You may also specify the Force Mode.

To apply the force, call AddForceView.ApplyForce().

⭐