Parcourir la source

Reduced physic steps resolution

pull/129/merge
raysan5 il y a 9 ans
Parent
révision
e2cfc6b838
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      src/physac.h

+ 1
- 1
src/physac.h Voir le fichier

@ -190,7 +190,7 @@ PHYSACDEF Rectangle TransformToRectangle(Transform transform);
// Defines and Macros
//----------------------------------------------------------------------------------
#define MAX_PHYSIC_BODIES 256 // Maximum available physic bodies slots in bodies pool
#define PHYSICS_STEPS 450 // Physics update steps number (divided calculations in steps per frame) to get more accurately collisions detections
#define PHYSICS_STEPS 64 // Physics update steps per frame for improved collision-detection
#define PHYSICS_ACCURACY 0.0001f // Velocity subtract operations round filter (friction)
#define PHYSICS_ERRORPERCENT 0.001f // Collision resolve position fix

Chargement…
Annuler
Enregistrer