Curttree / INFO6024_GameComponentIntegration

Prototype for Game Component Integration.
0 stars 0 forks source link

Detecting Surfaces #4

Closed Curttree closed 2 years ago

Curttree commented 2 years ago

As a developer, I need a way for my main character to know what type of surface they are standing on so that we can add additional features such as slacklines or climbable surfaces in the future (these will receive their own stories).

Before we can develop these features, we need some way for our character to identify what surface they are interacting with so we can alter their behavior. After we have completed this story, the player prefab should be able to have some variable that we can reference which can be used to alter our player character's behavior.

Curttree commented 2 years ago

Variable is called StandingOn in PlayerMovement. We can move this to its own script if PlayerMovement starts to get cluttered.