Jump to content

Newbee here: I want to change an objects mass with a script; HOW? i have spent like 20 hours not been able.


Kenneth Nyström
 Share

Recommended Posts

So I have tried and tried and tried; to change an objects mass thru a script.

I basicly want to have an trigger (activate) "change" a mass in a diffrent object thru two scripts

I have done and redone this so many times my head is spinning so hard ; I cant figure this out now. 
(I kid u not spent 20 hours to try solve this on my own)

.............
trigger script be like: set the "global" value with
 
getmass=2

.....
object script

if getmass=2 then SetMass (5)
........

 

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...