This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials
function particleLoop()
local p = graphics.getParticles(game.CurrentScene.Objects.footstep)
local c = game.CurrentCharacter
local dir = (game.CurrentCharacter.Direction - 90) / 180 * 3.1415
game.CurrentScene.Objects.footstep.Center = game.CurrentCharacter.Position.y +1
p.rotation = {0.0, dir, 0.0, dir}
p.center = {c.Position.x, c.Position.y}
p.size = {0.0, c.Size*0.5, 0.0, c.Size*0.5}
print(game.CurrentScene.Objects.footstep.Center)
end
registerEventHandler("mainLoop", "particleLoop") This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.
New thread