Skip to content

Area3D gravity doesn't seem to affect CogitoPlayer #485

Description

@5ucur

Cogito and Godot Engine Version:
Cogito 1.1, Godot 4.5 stable

Description:
Custom direction of gravity set by Area3D does not apply to CogitoPlayer. While a simple RigidBody object, with or without a cogito_object script attached, will fall towards the gravity direction, the CogitoPlayer does not.

Reproduction steps:

  1. Add Area3D to scene (e.g. the demo Lobby scene).
  2. Add CollisionShape3D to the Area3D and set its shape.
  3. Set the Area3D space override, under Gravity, to anything other than disabled.
  4. Set the gravity direction vector on the Area3D to anything different from (0,-1,0).
  5. Run the game and walk into the area.

No errors, warnings, etc pop up.

Expected behavior:
The player starts being pulled by the Area3D's gravity in the previously set direction.

Screenshots:
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions