Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gravity does not affect PhysX Character Controller + Gameplay entity if it is on ground #16196

Open
LB-ArturZieba opened this issue Jun 20, 2023 · 0 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/major Major priority. Work that should be handled after all blocking and critical work is done. sig/simulation Categorizes an issue or PR as relevant to SIG Simulation

Comments

@LB-ArturZieba
Copy link
Contributor

Describe the bug
After PhysX Character Controller + PhysX Character Gameplay entity reaches ground, the gravity stops affecting it, even after the PhysX Character Gameplay Gravity Multiplier is modified. If the ground is moved from under the stationary PhysX Character Controller + PhysX Character Gameplay or a velocity is applied to it so that it leaves ground, the gravity will be applied as expected.

It should be noted that if the entity is blocked from above (so the bottom of the PhysX Character Controller is not on ground), it won't prevent the Gravity from being applied. Only while the entity is on ground can this issue be observed.

Assets required

  • Following Script Canvas graph prepared:
    SCGrav
  • Entity with following components prepared:
    ComponentsGrav0
    ComponentsGrav1

Steps to reproduce

  1. Place the entity created in the Assets required section slightly above the Ground entity, so that it rests before the Script Canvas Print is triggered (a message shows up in the Console).
  2. Enter the Game Mode and observe the entity.

Expected behavior
After the message is printed to the Console, the entity starts ascending.

Actual behavior
Nothing happens, entity remains stationary.

Video

PhysXCharacterControllerGameplayGravity.mp4

Found in Branch
Development (8ef37d5)

Commit ID from o3de/o3de Repository
8ef37d5

Desktop

  • Device: PC
  • OS: Windows
  • Version 10
  • CPU AMD Ryzen 5 3600X 6-Core Processor
  • GPU AMD Radeon RX 5700 XT
  • Memory 16GB
@LB-ArturZieba LB-ArturZieba added kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. priority/major Major priority. Work that should be handled after all blocking and critical work is done. sig/simulation Categorizes an issue or PR as relevant to SIG Simulation labels Jun 20, 2023
@adamdbrw adamdbrw removed the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/major Major priority. Work that should be handled after all blocking and critical work is done. sig/simulation Categorizes an issue or PR as relevant to SIG Simulation
Projects
None yet
Development

No branches or pull requests

2 participants