Closed Noah2610 closed 4 years ago
Also refactor MovementData
's wall_slide_strength
into new WallSlider
component.
Remaining fields on PhysicsData
component (previously MovementData
):
acceleration
max_velocity
base_friction
gravity
This is aight for now.
MovementData
is too player-specific and holds too much information in general. Should probably be renamed and reused asPhysicsData
(gravity, acceleration, etc.), and theJumper
andWallJumper
components should hold jumping data for the player.