Add FloorVisibilityManager for dynamic floor visibility management and update material properties for transparency effects
This commit is contained in:
@@ -43,7 +43,7 @@ namespace Infrastructure.Unity
|
||||
{
|
||||
var dilation = _timeDilationProvider?.Invoke() ?? 1f;
|
||||
|
||||
if (IsGrounded()) rb.MovePosition(rb.position + _currentDir * (moveSpeed * dilation * Time.fixedDeltaTime));
|
||||
rb.MovePosition(rb.position + _currentDir * (moveSpeed * dilation * Time.fixedDeltaTime));
|
||||
|
||||
if (Physics.Raycast(transform.position, Vector3.down, out var hit, 2.0f, tileLayer))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user