physics like penumbra?

Posted By: wrekWIRED

physics like penumbra? - 04/17/12 12:10

does anyone have or know a code similar to penumbra or amnesia physics.

Some featurs like holding and carry a box, bottle or other object accordng to their weight, throw things arround and open doors by pulling fast or low to peek?
Posted By: Kartoffel

Re: physics like penumbra? - 04/17/12 16:39

Well I'm sorry. I don't have a code similar to the amnesia / penumbra physics interactions.

But I played both and I know they use the Newton physics engine.
Posted By: wrekWIRED

Re: physics like penumbra? - 04/17/12 17:50

Thanks, but that physics engine is to complex for me and will take me time to inplement it. I know A8 have similar feature which is px_pick() but i'm making a game like penumbra or amnesia that will run with olde video card and A8 is giving me a hard time with redenring so i'm stuck with A7. Wish someone have a code. But if i can't find a working code for A7 then i have no choice but to check newton physics.
Posted By: 3run

Re: physics like penumbra? - 04/17/12 18:25

Will be great to start I guess:
Physics template
All the credits, goes to Emre SASMAZ laugh
Posted By: Kartoffel

Re: physics like penumbra? - 04/17/12 18:29

Well I think it shouldn't be too hard to do this on your own with the physics engine in A7.
You don't have to use the Newton physics engine.

You 'only' have to think how you can get the result, that you want.

For example:

Creating a physics door should be easy.
Then (when you click the mouse button in the game and move the mouse)
apply a force to the door at the point your clicking to the point you drag the mouse.

It maybe needs some complicated vector calculations but it's doable.
Posted By: Wjbender

Re: physics like penumbra? - 04/17/12 20:56

kartoffel is rite ,start very simple
like

first try to create a box controlled with physics
then go one step up and try to maby pick it up
then go one etep up and try to add a hinge
then try to push it with code

the only real way to learn is to do it step by step
for every step you could ask help or search the forum
that way it will be simpler pieces of code people can help with easily

in the end combine all what you have learned or got as exaples
Posted By: auronti

Re: physics like penumbra? - 04/19/12 03:24

But you can also check newton 2 wrapper here.
newton 2 wrapper
Posted By: wrekWIRED

Re: physics like penumbra? - 04/19/12 14:12

thanks guys. I was searching for a newton 3dgs integratio in the net not knowing that there is on here in the forum. Thanks auronti.

I like the suggestion Kartoffel. I was thinking how to apply the force since i will not be always standin in on angle from the door. By the way. How do i apply hinge for the door?
© 2024 lite-C Forums