1 decade ago by mouseonew
I'm trying to spawn a fireball entity that I want to shoot in a certain direction ignoring all tile collisions. How would I go about doing this?
This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact
handleMovementTrace: function( res ) { // Do not resolve the collision for this entity. },
handleMovementTrace: function( res ) { this.pos.x += this.vel.x * ig.system.tick; this.pos.y += this.vel.y * ig.system.tick; },