This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

RcCookie
RcCookie presents ...

2020/4/21

Physix package demo / Car game

Download the scenario and copy the packages/physix folder into your scenario. Just make sure that it is still inside of a folder named packages.
To use this in your class then just write "import packages.physix.*".
There is a documentation included!

This is just a simple demo for a use of the engine - a car driving around, considering its weight, ground resistance, air resistance and sideways drag of the tires.

You are free to use and publish stuff using the packages included as long as you credit the package.

1669 views / 14 in the last 7 days

1 vote | 0 in the last 7 days

Tags: game simulation physics demo with-source car engine package reuse

This scenario is a member of: Reusable actors & support classes


open in greenfoot
Your browser is ignoring the <APPLET> tag.
A new version of this scenario was uploaded on 2020-04-21 10:40:29 UTC
A new version of this scenario was uploaded on 2020-04-25 10:21:10 UTC All new collision physics! I decided to not go the common way of collision physics where the objects themselfs never intersect each other. In my implementation, objects to go inside of each other, like they were deforming. This creates much smoother physics while increasing the performance.
A new version of this scenario was uploaded on 2020-04-25 12:08:32 UTC Another update for the collision physics. I updated the static physics and the way things bounce of of each other.

Want to leave a comment? You must first log in.

Who likes this?

Game/maniac