AviiNL/vrising-troublemaker

BOUNTY: 50$ - Implement IsWalkable(float2 pos)

Closed this issue · 0 comments

The IsWalkable(float2 pos) method needs to return false if the player can not walk when teleported to the given coordinates, and true if the position is a location that the player can walk away from.
When pos is a location inside a building or castle, it should return true.

This needs to return false if the player is stuck inside an entity, eg, The eye of twilight.

Method in question: https://github.com/AviiNL/vrising-troublemaker/blob/master/Helpers.cs#L53