Search the Community
Showing results for tags 'child'.
local leftleg local rightleg function Script:Start() leftleg=self.entity:FindChild("hip.l") rightleg=self.entity:FindChild("hip.r") end function Script:UpdatePhysics() leftleg:PlayAnimation("walk",0.02) rightleg:PlayAnimation("walk",0.02) end ^ doesn't work function Script:UpdatePhysics() self.entity:PlayAnimation("walk",0.02) end ^ work I also don't get any nil errors.
From what I can tell the only way to change a object's parent is by dragging and dropping in the Scene editor, which I find can be a little messy, too easy to drag to unintended parent, then having to fix that. I Suggest 2 Places where a simple remove parent / make parent command could be located: #1 By right clicking a object in the scene editor -> remove parent / make parent or #2 In the main toolbar / Edit menu. -> remove parent / make parent Also allowing for multiple selections in the view port or editor, where the last selection would be made as a parent, if the make p
One thing that sort of drives me up the wall (due to the fact that I use dozens of pivots), is that you can't directly select a child of a mesh by clicking on it. You have to find the mesh in the scene tab and then go through each child to find it. I think it would be easier to have some sort of selection such as Alt-LMB to select just the child.