Rick Posted January 1, 2010 Posted January 1, 2010 Can't I call GetPosition() on a controller? I'm trying to make my model follow my controller, but I get an error saying pos1 is nil value when I do: local pos1 = object.controller:GetPosition() self.characterModel:SetPosition(Vec3(pos1.x, pos1.y, pos1.z)) My controller is there I can see it. Quote
Rick Posted January 1, 2010 Author Posted January 1, 2010 nvm, I see it's controller.position.x, which makes no sense to me. Seems inconsistent with the LE commands and other ways of getting position. 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.