PhysxVehicleTankControllerAPI#
Thrust inputs that divert engine torque to the tracks of a wheeled tank vehicle. When the vehicle prim lists PhysxVehicleControllerAPI, the runtime checks whether it also lists this API and then reads the controller columns plus thrust0 and thrust1 once, when the vehicle is created.
Applies to:
XformableRequires on the same prim:
PhysxVehicleAPI,PhysxVehicleControllerAPIRead only when listed in
usd-schemas.No 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 |
0.0 |
resolved USD value (authored, else raw fallback) |
0.0 |
0: no thrust on the tracks assigned to thrust control 0. A present value outside [-1, 1] logs an error and the vehicle is not created. |
|
float32 |
none |
0.0 |
resolved USD value (authored, else raw fallback) |
0.0 |
0: no thrust on the tracks assigned to thrust control 1. A present value outside [-1, 1] logs an error and the vehicle is not created. |
Interactions#
PhysxVehicleControllerAPI: Read only when PhysxVehicleControllerAPI is in usd-schemas as well (the schema makes it a built-in of this API, so a hand-populated row has to list both). Without this API the vehicle uses the standard controller and the thrust columns are not read.PhysxVehicleTankDifferentialAPI: The vehicle needs a standard drive (PhysxVehicleDriveStandardAPI) and a tank differential; otherwise the runtime logs an error and the vehicle is not created.
Notes#
Both columns are change-tracked: the runtime applies a new value while simulating; a value outside [-1, 1] then logs an error and is ignored.