PhysxVehicleTireFrictionTable#
Friction of a vehicle tire against a list of ground materials, referenced by the physxVehicleTire:frictionTable relationship of a tire. A prim of this type turns on vehicle parsing for the attach; the walkers enumerate the prims of this type and read the table, and the tables are created after the materials and before the vehicles.
Type chain:
TypedApplicable APIs:
CollectionAPI,GeomInstanceAPI,GeomInstanceRootAPI,GeomPrototypeAPI,PhysicsMaterialAPI,PhysxMaterialAPI,PhysxSceneAPI,PhysxVehicleAutoGearBoxAPI,PhysxVehicleClutchAPI,PhysxVehicleDriveBasicAPI,PhysxVehicleDriveStandardAPI,PhysxVehicleEngineAPI,PhysxVehicleGearsAPI,PhysxVehicleNonlinearCommandResponseAPI,PhysxVehicleSuspensionAPI,PhysxVehicleTireAPI,PhysxVehicleWheelAPI,PrototypeRootAPIDiscovery: by prim_type, probe
frictionValuesTransform columns: none, not
XformableNo builder:
ovphysx.populationandPopulation.hppdo not write this component; the consumer reads it when another population writes it.
Columns#
Raw fallback is the USD schema value. Producer writes is what ovstage population puts in the column for a USD stage. Parser default applies on the consumer when the column is absent, in stage units. diverges means writing the raw fallback literally parses differently from omitting the column (the parser default): USD population may well publish that very value for an unauthored attribute, so the marker is about the column being present, not about its value.
Column |
Type |
Units |
Raw fallback |
Producer writes |
Parser default |
If absent |
|---|---|---|---|---|---|---|
|
float32 |
none |
1.0 |
resolved USD value (authored, else raw fallback) |
1.0 |
1.0: the friction against any ground material the table does not list. A negative value logs an error and the table is not created. |
|
float32 array |
none |
not written |
No per-material friction: every ground material gets defaultFrictionValue. When groundMaterials has targets the two must have the same length, otherwise an error is logged and the table is not created. |
||
|
uint64 array, RELATIONSHIP_PATH_ID |
not written |
No listed materials: the table only has defaultFrictionValue. Every target must exist and apply PhysicsMaterialAPI, otherwise an error is logged and the table is not created; a target whose material was not created at load logs an error and its entry gets no PhysX material. |
Interactions#
PhysicsMaterialAPI: Every groundMaterials target must apply it; the runtime resolves the targets to the created materials once all materials exist.PhysxVehicleTireAPI: A tire names its table with physxVehicleTire:frictionTable; the tire API is not described yet.
Notes#
frictionValues with an empty groundMaterials passes validation (the length check runs only when there are materials), but table creation then asserts that frictionValues has one entry per material: a debug build trips the assertion and a release build ignores the values.