V113. Grabbing System Overview Lecture

Hey ),

Here’s how I think the grabbing system overview will go before I continue the lesson.

// Inheritance - Objects can inher different properties from dif classes

// List of interactable objects (weight)

// Player casts out ray within a limited distance

// Raycast identifies object

// Check if the object is able to be picked up

// Player pick up the object

// Objectweight affects the player speed

// Set Player as preoccupied - Can only carry one object

// Object under Player control

// Volume detect CarriedObject + calculate weight

// Weight requirement needs to be met before door stays open

Privacy & Terms