Hia
I got an object which has a setLinearVelocity.
I want the emitter to follow the object but i get this error:
“attempt to call method ‘setLinearVelocity’ (a nil value)”
The emitter clearly loads. Here is the code:
local bullet\_emitter = display.newEmitter( enemyParams ) -- Center the emitter within the content area bullet\_emitter.x = enemy\_bullet.x bullet\_emitter.y = enemy\_bullet.y
Does setLinearVelocity works with particle emitters?
If not is there any work around?