Search Unity

Weird physics.

Discussion in 'General Discussion' started by gamerant, Aug 23, 2013.

  1. gamerant

    gamerant

    Joined:
    Jun 27, 2013
    Posts:
    16
    Hi there.Just me wondering here.

    In my game the player moves on a platform.This platform has corners and slants. Another words one big mesh with a mesh collider.
    This seems to work most of the time and on most of the levels.How ever there are certain points on the platform where the player just ends up shooting forward as if he suddenly got a kick of energy from somewhere or just goes right through the platform and just ignores all physics.

    It's quite a baffling issue since I have rigidbodies and appropriate colliders attached to each the platform and the player.Also added a physics material to the platform to create friction between the player and it.

    I guess what i'm asking is does anyone know why my player object occasionally decides to ignore physics at a specific point while moving on the platform like go through it or end up shooting forward.:D


    EDIT: Fixed this by making the rigid body of the platform as IsKinematick
     
    Last edited: Sep 1, 2013