Jump to content

Recommended Posts

Posted

Maybe a bug or behavior by design?

 

If you have a CGS object with a child object.

 

In the editor the child will rotate along with the parent object when the parent is rotated. That's Ok and expected behavior. However if you rotate the parent object by a script (simple Turn command) the child does not rotate, only the parent.

 

 

Tested same thing with two mesh objects (fbx) and in that case both rotates as expected when parent is rotated (both by script and in the editor)

Roland Strålberg
Website: https://rstralberg.com

Posted

Okay. I can confirm that adding a 'dummy' empty script to the child solves the problem.

I really don't see why this has to be done, but accept it as a solution smile.png. But its a bit tricky when things behaves different in the editor and in run-time.

 

Thanks macklebee

Roland Strålberg
Website: https://rstralberg.com

Posted

It has been discussed before. CSG brushes, for performance reasons, are collapsed during runtime. If a brush doesn't have a script attached or physics enabled then it gets collapsed.

  • Upvote 1

Intel Core i7 Quad 2.3 Ghz, 8GB RAM, GeForce GT 630M 2GB, Windows 10 (x64)

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...