Version: Unity 6.3 Beta (6000.3)
LanguageEnglish
  • C#

WorldProfile

struct in UnityEngine.LowLevelPhysics2D

/

Implemented in:UnityEngine.Physics2DModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

PhysicsWorld profile that contains the timings of specific world simulation stages. All times are in milliseconds.

Properties

Property Description
applyBounciness Time spent applying bounciness.
bodyTransforms Time spent updating body transforms.
broadphaseUpdates Time spent refitting the broadphase.
contactPairs Time spent updating collision pairs and creating contacts.
contactUpdates Time spent updating contacts.
fastTriggers Time spent calculate fast triggers for bodies.
hitEvents Time spent generating contact hit events.
integrateTransforms Time spent integrating transforms.
integrateVelocities Time spent integrating velocities.
jointEvents Time spent generating joint threshold events.
prepareConstraints Time spent preparing joint and contact constraints.
prepareStages Time spent preparing simulation stages.
relaxImpulses Time spent relaxing constraint impulses.
simulationStep Time spent stepping the simulation forward.
sleepIslands Time spent updating islands that need to sleep.
solveConstraints Time spent solving constraints.
solveContinuous Time spent solving continuous collision detection.
solveImpulses Time spent solving impulses.
solving Time spent integrating velocities, solving velocity constraints, and integrating positions.
splitIslands Time spent spliting islands because some contacts and/or joints have been removed.
storeImpulses Time spent storing impulses.
updateTriggers Time spent updating triggers.
warmStarting Time spent warm-starting.
writeTransforms Time spent writing the body poses to the transform system.

Static Methods

Method Description
Add Add the specified world profiles together.
Maximum Find the maximum values the specified world profiles.