Jump to content

Moving a pivot with button/switch


Gamer4Life
 Share

Recommended Posts

Is it possible to move a Pivot using the door button script by attaching the sliding door script to the pivot?

For some reason it is not working and I am farely new to this, but the scripts works with just about every object i try except this Pivot that i have multiple blocks parented to. So what i'm trying to do is parent blocks to the pivot then have the scripts move the pivot so all the blocks move at once, but the script is not working and i know the button works because i used it with another object with the door script parents to it just to check.

Link to comment
Share on other sites

I believe he is using csg created boxes so he will also need to attach an empty script to each so they are not collapsed into the scene. And since he is using the sliding door script that is using a physics joint for movement, he just needs to set his pivot mass to be greater than 0.

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Link to comment
Share on other sites

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.

 Share

×
×
  • Create New...