Sorry if that sounds dumb, but I tried this
(mo is player.mo)
But the object in question never spawns with the right angle, it always faces the same direction. How can I make it spawn with the player's angle?
Code:
local chargedust1 = P_SpawnMobj(mo.x, mo.y, mo.z, MT_PARTICLE)
chargedust1.angle = mo.angle
(mo is player.mo)
But the object in question never spawns with the right angle, it always faces the same direction. How can I make it spawn with the player's angle?