I'm trying to create an axis between two props, I have found the position of where I need to align the 2nd prop on the 1st and have tried to use the constraint.Axis function to no avail :/
[code]
local AxisPos = self:GetPos() + Vector(239,-38,0)
self.Axis = constraint.Axis( Switcher, Self, 0, 0, AxisPos, AxisPos, 0, 0, 0.1, 1 )[/code]
I pick the 1st prop up, 2nd prop stays put. They are nocollided however so it must be doing that much..
Your reference to [i]self[/i] in the function call includes a capital 'S', try making that lowercase. Although, if either of the entities weren't valid, I'd assume they'd still collide following.
Sorry, you need to Log In to post a reply to this thread.