[SOLVED] Why is the dynamic object going thru the static object


Im a beginner trying to learn playcanvas, can anyone tell me why this is happening.
here’s my movement code

ar Movement = pc.createScript('movement');

// initialize code called once per entity
Movement.prototype.initialize = function() {


// update code called every frame
Movement.prototype.update = function(dt) {

    if (this.app.keyboard.isPressed(pc.KEY_UP)){


Both of the objects have rigid body and collision. idk what I’m doing wrong