Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PhysicsWorld.WorldProfile

PhysicsWorld profile that contains the timings of specific world simulation stages. All times are in milliseconds.
Read time 1 minuteLast updated 11 days ago

Definition

public struct PhysicsWorld.WorldProfile

Properties

Property

Description

applyBouncinessTime spent applying bounciness.
bodyTransformsTime spent updating body transforms.
broadphaseUpdatesTime spent refitting the broadphase.
contactPairsTime spent updating collision pairs and creating contacts.
contactUpdatesTime spent updating contacts.
fastTriggersTime spent calculate fast triggers for bodies.
hitEventsTime spent generating contact hit events.
integrateTransformsTime spent integrating transforms.
integrateVelocitiesTime spent integrating velocities.
jointEventsTime spent generating joint threshold events.
prepareConstraintsTime spent preparing joint and contact constraints.
prepareStagesTime spent preparing simulation stages.
relaxImpulsesTime spent relaxing constraint impulses.
simulationStepTime spent stepping the simulation forward.
sleepIslandsTime spent updating islands that need to sleep.
solveConstraintsTime spent solving constraints.
solveContinuousTime spent solving continuous collision detection.
solveImpulsesTime spent solving impulses.
solvingTime spent integrating velocities, solving velocity constraints, and integrating positions.
splitIslandsTime spent splitting islands because some contacts and/or joints have been removed.
storeImpulsesTime spent storing impulses.
updateTriggersTime spent updating triggers.
warmStartingTime spent warm-starting.
writeTransformsTime spent writing the body poses to the transform system.

Static Methods

Method

Description

AddAdd the specified world profiles together.
MaximumFind the maximum values the specified world profiles.