I'm trying to figure out how to make a projectile pass THROUGH certain objects while making contact with others. I'm also having the issue where my projectile is created dynamically so I can't stick in a event listener in the registerBeforeRender() function because they don't exist at the time that function is called. Basically, I want to be able to shoot enemies in my game, while not shooting allies.
I'm also having an issue where I can't seem to get rotation coordinates of my object. I can get the coordinates but when I check mesh.rotation() I always see 0, 0, 0 even when I change it with a event listener...