Show / Hide Table of Contents

Class AdjacentSurface

Inheritance
Object
AdjacentSurface
Namespace: DaggerfallWorkshop.Game
Assembly: Assembly-CSharp.dll
Syntax
public class AdjacentSurface

Constructors

| Improve this Doc View Source

AdjacentSurface(Ray, Vector3, Int32, Single)

Declaration
public AdjacentSurface(Ray adjSurfRay, Vector3 surfaceHitNormal, int turnCount, float hitDistance)
Parameters
Type Name Description
Ray adjSurfRay
Vector3 surfaceHitNormal
Int32 turnCount
Single hitDistance

Fields

| Improve this Doc View Source

adjacentSurfaceRay

a ray that originates from the adjacent wall we're moving towards and points toward the corner intersecting with our current plane.

Declaration
public readonly Ray adjacentSurfaceRay
Field Value
Type Description
Ray
| Improve this Doc View Source

adjacentTurns

Declaration
public readonly int adjacentTurns
Field Value
Type Description
Int32
| Improve this Doc View Source

grabDirection

The force vector needed to maintain collision with the surface.

Declaration
public readonly Vector3 grabDirection
Field Value
Type Description
Vector3
| Improve this Doc View Source

turnHitDistance

Declaration
public readonly float turnHitDistance
Field Value
Type Description
Single
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX