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
Slanderous Offline
Posting Freak

Posts: 1,606
Threads: 78
Joined: Dec 2012
Reputation: 63
#5
RE: Entity's physics not setting to static

(08-07-2016, 11:05 PM)Darkfire Wrote: 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.

Unfortunately your tips didn't work, but I appreciate the help anyway. This is getting fucking ridiculous, I swapped the script so that it sets all the rocks static on the map and it still doesn't work.

EDIT:

I added a SetEntityInteractionDisabled func to my script and it seemed to have fixed that issue! The thread can be locked up now.
(This post was last modified: 08-07-2016, 11:35 PM by Slanderous.)
08-07-2016, 11:30 PM
Find


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



Users browsing this thread: 1 Guest(s)