Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Entity's physics not setting to static
Darkfire Offline
Senior Member

Posts: 371
Threads: 22
Joined: May 2014
Reputation: 15
#4
RE: Entity's physics not setting to static

Maybe the entity can't be set to static physics ? If there's no tickbox in it's properties then yes. But it's an entity you can pick up, and those usually can be set to static. Anyway, just sayin.

Other thing, which is even more stupid: Try swapping child and parent in the function. I have a vague memory it fixed something for me once.
I'm probably just (unpurposely) bullshitting you, but it's worth a try if everything else fails.

EDIT You can also try using Sticky areas, just be sure to untick the "can detach" box. Should have the same effects you're trying to script. You would just have to add some script using if(getentitiescollide etc) or addentitycollidecallback to finish the puzzle.

(This post was last modified: 08-07-2016, 11:10 PM by Darkfire.)
08-07-2016, 11:05 PM
Find


Messages In This Thread
RE: Entity's physics not setting to static - by Darkfire - 08-07-2016, 11:05 PM



Users browsing this thread: 1 Guest(s)