Yue Posted August 12, 2017 Share Posted August 12, 2017 Script.Camara = nil --entity "Entidad" local camerarotation = Vec3() local velocidad = 0.0 local salto = 0 --local camara = nil function Script:Start() self.Camara:SetParent(self.entity,true) -- Return nil Quote Link to comment Share on other sites More sharing options...
Yue Posted August 16, 2017 Author Share Posted August 16, 2017 What am I doing wrong? Quote Link to comment Share on other sites More sharing options...
Rick Posted August 16, 2017 Share Posted August 16, 2017 What is Player that is in the jugador field? Is it a csg with no script attached? Behind your code window I see a character controller and it looks like some csg on it. CSG if it doesn't have mass or script collapses and can't be used as an entity. 1 Quote Link to comment Share on other sites More sharing options...
Yue Posted August 16, 2017 Author Share Posted August 16, 2017 Yes, Jugador = Player. Quote Link to comment Share on other sites More sharing options...
Yue Posted August 16, 2017 Author Share Posted August 16, 2017 Ok, no problem here. I'm crazy about this. xD. working perfect. Quote Link to comment Share on other sites More sharing options...
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.