Skip to content

Character Does Not Move Correctly with Moving Platforms #28

@gajendra906

Description

@gajendra906

There are issues with character interaction on moving platforms. The player is not consistently inheriting the platform's movement, resulting in incorrect behavior for both horizontal and vertical platform motion.

Issue 1: Horizontal Moving Platforms

When a platform moves horizontally, the player does not move along with it. Instead, the platform slides out from underneath the character, causing the player to be left behind or fall off.

Expected Result:
The player should remain attached to the platform's movement and be carried horizontally while standing on it.

Actual Result:
The platform moves independently underneath the player.


Issue 2: Vertical Moving Platforms

When a platform moves upward, the player is correctly carried upward along with the platform.

However, when the platform starts moving downward:

  • The player's fall animation is triggered.
  • The player does not appear to remain properly attached to the platform.
  • The movement feels as though the platform is moving away from the player rather than carrying the player downward.

Expected Result:
The player should remain grounded on the platform and move downward with it without triggering fall/jump states.

Actual Result:
The player enters a falling state when the platform moves downward.

Possible Cause

The character controller may not be correctly inheriting platform velocity, especially for downward and horizontal movement. Ground detection may also be temporarily lost while the platform is moving.

Impact

Moving platforms are unreliable for platforming gameplay and can cause unintended falls, incorrect animations, and broken level mechanics.

platform.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions