Picophysics: Single file physics for games on platforms like N64, PSX, DC
1–10 of 25 posts
Re: Picophysics: Single file physics for games on platforms like N64, PSX, DC
#2It's hand written and should also work on microcontrollers like ESP32s or Pi Pico 2. Have you tried anything like that yet?
The Pico in particular has enough RAM and supports floating point math.
Re: Picophysics: Single file physics for games on platforms like N64, PSX, DC
#3Sounds interesting, but there isn't any description or readme to go by.
Re: Picophysics: Single file physics for games on platforms like N64, PSX, DC
#4Sounds interesting, but there isn't any description or readme to go by.
The README is in the header file (picophysics.h)
Re: Picophysics: Single file physics for games on platforms like N64, PSX, DC
#5Everything being static inline makes it hostile to these older systems which have limited RAM. Use of float makes it unlikely that you’d run it on the PlayStation, which has no FPU.
Re: Picophysics: Single file physics for games on platforms like N64, PSX, DC
#6Re: Picophysics: Single file physics for games on platforms like N64, PSX, DC
#7Re: Picophysics: Single file physics for games on platforms like N64, PSX, DC
#8Everything being static inline makes it hostile to these older systems which have limited RAM. Use of float makes it unlikely that you’d run it on the PlayStation, which has no FPU.
Most of the older consoles don't have an FPU. Fixed point is king on those older systems.
Re: Picophysics: Single file physics for games on platforms like N64, PSX, DC
#9Everything being static inline makes it hostile to these older systems which have limited RAM. Use of float makes it unlikely that you’d run it on the PlayStation, which has no FPU.
Most of the older consoles don't have an FPU. Fixed point is king on those older systems.
Only one of the consoles listed lacks an FPU, the other two (N64 and DreamCast) both have FPUs. Despite its age, the FPU on the N64 was plenty fast and it was used extensively.