aarrowh Posted January 17, 2014 Posted January 17, 2014 I'm attempting to add the shotgun from the assets page into the AI demo level. But whenever I load the model, and save it as a prefab it loads in reverse in the game. I tried using self.weapon.entity:SetRotation() But, then my bullets go behind me and the muzzle flash gets stuck to the floor in front of spawn(No idea there.) I might be blind but I cannot find where the direction of bullet is set in FPSplayer.lua. I'm also trying to orient my weapon outside of the FPSplayer script(So I can use multiple guns) Any ideas would be great. Quote
josk Posted January 17, 2014 Posted January 17, 2014 To turn your weapon, in the physics tab change Character angle to 180. Quote Elite Cobra Squad
aarrowh Posted January 17, 2014 Author Posted January 17, 2014 To turn your weapon, in the physics tab change Character angle to 180. I just tried this with my character controller and my prefab and neither one turned the gun model the correct direction. I will press on for a different solution. Quote
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.