Ninja Character - Dynamic gravity for characters & objects

how can I get a scene capture component to behave like the ninja player manager character class? is that possible?

Where does a SetRotation of NinjaCharacter by ground normals take place in c++?

UNinjaCharacterMovementComponent::GetComponentDesiredAxisZ determines the axis of the capsule; UNinjaCharacterMovementComponent::UpdateComponentRotation actually rotates the capsule.

2 Likes

The last public update now has another Character blueprint with a different animation blueprint, hope it helps you and others.

Path: Ninja Character Content/NinjaCharacter/Blueprints/NinjaPlayerCharacterAlt_BP.uasset

How can i use ninja physics volume in blueprints? Or somehow manipulate physics prop using ninja plugin in blueprint?

Am I able to set It so that the player only gets affected by a physics volume and not the direction of the ground below it? Also, is there any documentation on how to use these volumes?

Hi, I am trying to work with align gravity to the base, the blueprint is compiling with no errors but its not aligning the floor, do we have to define the floor or something? or how

hello, do you all know any fix to this 2023-03-04 16-15-42
my character turns fine but when im up a 90 degree or more angle it doesnt rotate the player to its movement

All new options can be enabled/disabled on startup and on the fly; there is no documentation aside from the example map that has several physics volumes (that ignore Pawn overlap, revert that to test with ninjas).

Note: be aware that a “Revert to Default Gravity” checkbox exists.

It works fine for me.

Try to play the example map with that option enabled.

It looks like ControlRotation isn’t changing its orientation properly.
Did you enable the “Capsule Rotates Control Rotation” checkbox?

Hello. This may be an extremely beginner question, but I’ve run into the problem that in third person, the camera shakes extremely over every small bump in the landscape. Is there a way to fix this? I dont see a lot of people with this problem but Im pretty sure i followed all instructions.

Thank you very much for any help!

ok two problems solved so far thumbs up

three final problems i would love help with: MOST IMPORTANT when i run capsule and mesh up a wall - this wall may have lots and lots of bumps. so it starts shaking pretty seriously. is there a way to remove this snap-shaking? (ive already put smooth component blueprint in there now but it’s still pretty jarring…) 2: when i jump while ninjarunning up a wall - it LAUNCHES the character backwards away from the wall. can this be reduced??? i dont know what variable to target. 3: sometimes the turning speed on the wall seems super low. how come? can i fix this and how?

Hi there, when my character is walking on the wall the direction of the animation is not changing…like its going straight but playing the right strafe animation Video of walking direction not working properly, I also enabled “Capsule Rotates Control Rotation” but its still not working and whenever the character is walking on the wall, going down the stairs or walking on any slope the camera is getting tilted This is the how its behaving

i actually connected a wrong node there…its working fine

  1. You have to smooth the way the camera reacts to the bumps, spring arm settings usually help in that matter, but it isn’t a perfect solution.
  2. I guess you can reduce the jump strength, or remove it and add your custom jump ability.
  3. Any example to reproduce this? Maybe it’s caused by the bumps you mentioned, which isn’t a recommended scenario.

The camera is fixed but the other issue is still not solved

Unfortunately the videos were (and are) down, I couldn’t watch them.

Do your Character blueprint have “Orient Rotation to Movement” checked or not? If “no”, make sure to learn from the new HeroTPP_AnimBP I added with the last release.

This is not my video but the problem is like this…the only difference is that my game is in true first person pov
GIF 05.12.2022 12-58-40

Hey, so I’m sure this has already been answered, but it’s kinda difficult looking through all of the replies in this thread for what to do.
Basically whenever the character walks up a wall, at a certain point the controls seem to stop working. Like they aren’t able to move forwards or backwards, and instead only left and right, and sometimes if I jump I lose control entirely.
Anyone know what to do?
2023-04-04 13-39-07.mkv (10.3 MB)