Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PhysicsShape.MoverData

The mover data assigned to a _moverData. This is used when PhysicsShape are encountered when using PhysicsWorld.CastMover.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Struct
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public struct PhysicsShape.MoverData

Constructors

Constructor

Description

MoverData()Create a default mover data.

Properties

Property

Description

clipVelocityControls if this shape can clip the mover velocity.
pushLimitControls the amount this shape can push against a mover. To effectively set no limit, use MaxValue.