PlatformContact2D Struct

Summary

Details about a point of contact with a platform.
Assembly
PlatformerGameKit.dll
Namespace
PlatformerGameKit.Characters
Base Types
  • ValueType
graph BT Type-->Base0["ValueType"] Type["PlatformContact2D"] class Type type-node

Syntax

public readonly struct PlatformContact2D : ValueType

Constructors

Fields

Name Constant Value Summary
Collider
HasRigidbody
Point
Rigidbody

Properties

Name Value Summary
Velocity Vector2

Operators

Name Value Summary
implicit operator PlatformContact2D(ContactPoint2D) PlatformContact2D
implicit operator PlatformContact2D(RaycastHit2D) PlatformContact2D