SetPropPhysics - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html) +--- Thread: SetPropPhysics (/thread-7171.html) Pages:
1
2
|
SetPropPhysics - MrBigzy - 04-03-2011 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. RE: SetPropPhysics - Anxt - 04-03-2011 What did you try to do with it? RE: SetPropPhysics - MrBigzy - 04-03-2011 Trying to make an entity act as a typical static object. RE: SetPropPhysics - Anxt - 04-03-2011 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? RE: SetPropPhysics - MrBigzy - 04-03-2011 Oh yeah, I completely forgot about the static physics box! No, what I mean for that function is that it's not even recognized by the game, at all. RE: SetPropPhysics - Anxt - 04-03-2011 Ah. Well, I've never used it nor had the need for it, soooo....uhhh....yeah. I don't know RE: SetPropPhysics - Droopy - 04-03-2011 Would this be the function to use for setting the weight on an object, or is that another procedure altogether? RE: SetPropPhysics - MrBigzy - 04-03-2011 That's what I'm assuming it is, setting it as static, but I'm not sure. RE: SetPropPhysics - Pandemoneus - 04-03-2011 The game does seem to know about the function, but it says the parameters are wrong. RE: SetPropPhysics - MrBigzy - 05-17-2011 Just thought I'd bump this so people know. This function was misnamed originally in the wiki, it's supposed to be SetPropStaticPhysics. |