Adventure Creator  1.79.1
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2022
AC.TrackSnapConnection Class Reference

Public Member Functions

float EvaluateInputScore (DragMovementCalculation dragMovementCalculation, Moveable_Drag draggable, Vector3 dragForce)
 
void MakeConnection (Moveable_Drag draggable)
 Connects a draggable object to the track defined in this data block More...
 
bool IsValid ()
 
TrackSnapConnection ShowGUI (DragTrack ownTrack, int i)
 
void DrawHandles (Vector3 ownPosition)
 

Detailed Description

Stores information related to connection points along tracks.

Member Function Documentation

◆ IsValid()

bool AC.TrackSnapConnection.IsValid ( )

Checks if the data is valid

◆ MakeConnection()

void AC.TrackSnapConnection.MakeConnection ( Moveable_Drag  draggable)

Connects a draggable object to the track defined in this data block

Parameters
draggableThe draggable object to update