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
SetPropPhysics
MrBigzy Offline
Senior Member

Posts: 616
Threads: 18
Joined: Mar 2011
Reputation: 8
#1
SetPropPhysics

Is this really a function? I just tried it out and it's not recognized by the game. Also couldn't find it in any of the games' map scripts.
04-03-2011, 01:48 AM
Find
Anxt Offline
Senior Member

Posts: 588
Threads: 12
Joined: Mar 2011
Reputation: 10
#2
RE: SetPropPhysics

What did you try to do with it?

04-03-2011, 02:21 AM
Find
MrBigzy Offline
Senior Member

Posts: 616
Threads: 18
Joined: Mar 2011
Reputation: 8
#3
RE: SetPropPhysics

Trying to make an entity act as a typical static object.
04-03-2011, 03:37 AM
Find
Anxt Offline
Senior Member

Posts: 588
Threads: 12
Joined: Mar 2011
Reputation: 10
#4
RE: SetPropPhysics

I generally just check the "StaticPhysics" box in the Entity tab of the level editor.

The function would be:

SetPropPhysics(string& asName, bool abX);

But I don't know if you would want true or false. I guess try it out and see if it works?

04-03-2011, 03:43 AM
Find
MrBigzy Offline
Senior Member

Posts: 616
Threads: 18
Joined: Mar 2011
Reputation: 8
#5
RE: SetPropPhysics

Oh yeah, I completely forgot about the static physics box! Blush

No, what I mean for that function is that it's not even recognized by the game, at all.
04-03-2011, 03:45 AM
Find
Anxt Offline
Senior Member

Posts: 588
Threads: 12
Joined: Mar 2011
Reputation: 10
#6
RE: SetPropPhysics

Ah. Well, I've never used it nor had the need for it, soooo....uhhh....yeah. I don't know Tongue

04-03-2011, 04:13 AM
Find
Droopy Offline
Member

Posts: 111
Threads: 5
Joined: Feb 2011
Reputation: 0
#7
RE: SetPropPhysics

Would this be the function to use for setting the weight on an object, or is that another procedure altogether?

Listen to the fear, maybe it's your friend.
04-03-2011, 05:00 AM
Find
MrBigzy Offline
Senior Member

Posts: 616
Threads: 18
Joined: Mar 2011
Reputation: 8
#8
RE: SetPropPhysics

That's what I'm assuming it is, setting it as static, but I'm not sure.
04-03-2011, 05:05 AM
Find
Pandemoneus Offline
Senior Member

Posts: 328
Threads: 2
Joined: Sep 2010
Reputation: 0
#9
RE: SetPropPhysics

The game does seem to know about the function, but it says the parameters are wrong.

04-03-2011, 11:04 AM
Find
MrBigzy Offline
Senior Member

Posts: 616
Threads: 18
Joined: Mar 2011
Reputation: 8
#10
RE: SetPropPhysics

Just thought I'd bump this so people know. This function was misnamed originally in the wiki, it's supposed to be SetPropStaticPhysics.
05-17-2011, 02:31 PM
Find




Users browsing this thread: 1 Guest(s)