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 10 days ago

Definition

public struct PhysicsWorld.WorldProfile : IEquatable<PhysicsWorld.WorldProfile>

Properties

Property

Description

bodyTransformsTime spent updating body transforms.
broadphaseUpdatesTime spent refitting the broadphase.
constraintsTime spent solving constraints.
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.
relaxImpulsesTime spent relaxing constraint impulses.
simulationStepTime spent stepping the simulation forward.
sleepIslandsTime spent updating islands that need to sleep.
solveContinuousTime spent solving continuous collision detection.
solveImpulsesTime spent solving impulses.
solverSetupTime spent setting up the solver.
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.