Forum rules - please read before posting.

Draggable Floor and Player Collision while dragging

Hi
Unity 3d direct,MouseKeyboard. On AC 1.79.1
Example shown as Video here: https://rumble.com/v5jj4ed-collision-glitch.html

My AC player stands over a Draggable block which can then be dragged vertically by the user.
all is good Except when the player stands at the edge or intentionally pushes to walks towards colliders around it while also dragging the block up or down then the player movement on the Draggable block gets interrupted.
this especially happens when the player walks toward or stands right where colliding the Collision cube as invisible front Wall.

Comments

  • Does your Player rely on a Character Controller, or a Rigidbody + Capsule Collider combination, and is there a difference if you switch to the other?

    It looks like a wall collision issue. I see you've got a "NoFriction" material attached to the wall collider - what if this gets applied to the Player as well?

    You may be able to get around this by parenting the Player to your draggables as they approach them - e.g. a Trigger around the top of each draggable block that parents the Player to them on entering, and clears the parenting on exiting.

  • I suppose My player is based On Rigidbody and CapsuleCol. since i made it using AC tutorials..
    I just tried different materials to see if it can help me with the issue. but normaly i leave that to None.
    This parenting seems like a good idea, Still i can not imagine if it can make any issue or not. i will test asap. thanks.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.