I’m trying to get a character to be parented to a moving object… the character is the default Character class, using the CharacterMovement component.
When standing on the object, while parented to it, it appears to add the velocity of the object to the player location ( like it would if you werent parented to it, the player would still move with it)
How do you disable this functionality??
I know we have Ignore Base Rotation, which stops inheriting the rotation of the object…,
but where is the Ignore Base Movement boolean??
Yes, I’m aware of this, but this disables Jumping and movement. ( and alot of other stuff )
Forcing you to rewrite the entire movement system if you want the character to move while attached.
I’m pretty sure CMC would work fine with Attachments to moving platforms, if the code that runs in the background ( where it moves the player with objects they’re standing on ) was disabled.
This should be an option IMO. ( similarly to how you can turn of inheritence of base rotation )
CMC moving us with platforms is great, until you want to Attach the character to that platform. Now that you’re attached, the code that moves the player with this platform is moving the player around when touching the platform, even while you are “parented”. If you switch to fly mode or falling etc. you will follow it perfectly while falling with gravity etc. Until you touch it, and you will be moved in the direction the platform is moving, faster than the platform is moving.
In this instance, what I want is for the player to be able to move around just like he could on static ground, but while on the moving platform. If the player jumps, he jumps ( while following the platform ) instead of falling off the platform due to loss in velocity while in the air.
I still want the player to rotate with the base, just not move with it ( as i want an attachment to deal with that part )
But since I can only disable inheriting base rotation, but not movement, I can either only disable the inherited rotation, or both. While I need to disable the inherited movement, but maintain the rotation.