YouGroove Posted April 14, 2014 Posted April 14, 2014 I have particle object not orienting to a direction i give to it using SetRotation() I dug on FPSWeapon.lua and i found : self.emitter[2] = tolua.cast(self.emitter[2],"Emitter") What is tolua.cast ? Does it manages emitter orientation ? How to orient particle to some direction ? Quote Stop toying and make games
shadmar Posted April 14, 2014 Posted April 14, 2014 To use emitter methods on emitter[2] it needs to have the base class cast. Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.