Can't get resolution_vector from collideSprites() Function to work
-
Hey all, just got FUZE4 today, and after about 3 hours of coding, I stumbled into an u fixable problem (at least for me). It seems that the *c.resolution_matrix is not an actual value, or is not yet implemented. I want to make a collision event where ```sprite collision = collideSprites(p1.sprite,p2.sprite)
if spriteCollision.exist then
setSpriteSpeed(p1.sprite, spriteCollision.a.resolution_vector)setSpriteSpeed(p2.sprite.spriteCollision.b. resolution_vector)
endif```
but I keep getting this error: Sprite contains no user variable named resolution_vector -
@BattlEyeet Try this:
c = collideSprites(spritea, spriteb) if c.exists then printat(0,0,c.resolution_a) printat(0,1,c.resolution_b) endif