Object Parameter IDs

Refer to the API functions simGetObjectIntParameter, simSetObjectIntParameter, simGetObjectFloatParameter, simSetObjectFloatParameter, simGetObjectStringParameter and simSetObjectStringParameter for details on following values:

Scene objects

10: int parameter : object visibility layer
11: float parameter (can only be read) : object absolute x velocity. This is a calculated value.
12: float parameter (can only be read) : object absolute y velocity. This is a calculated value.
13: float parameter (can only be read) : object absolute z velocity. This is a calculated value.
14: float parameter (can only be read) : object absolute rotational velocity. This is a calculated value.

More parameters you wish to adjust from the API? Ask us to add them for a future release!

Vision sensors

1000: float parameter : near clipping plane
1001: float parameter : far clipping plane
1002: int parameter : resolution x
1003: int parameter : resolution y
1004: float parameter : perspective projection angle
1005: float parameter : orthographic projection size

More parameters you wish to adjust from the API? Ask us to add them for a future release!

Joints

2000: int parameter : dynamic motor enable state (0 or !=0)
2001: int parameter : dynamic motor position control enable state (0 or !=0)
2002: float parameter : dynamic motor position control P parameter
2003: float parameter : dynamic motor position control I parameter
2004: float parameter : dynamic motor position control D parameter
2005: float parameter (can only be read) : joint transformation, position X
2006: float parameter (can only be read) : joint transformation, position Y
2007: float parameter (can only be read) : joint transformation, position Z
2008: float parameter (can only be read) : joint transformation, quaternion X
2009: float parameter (can only be read) : joint transformation, quaternion Y
2010: float parameter (can only be read) : joint transformation, quaternion Z
2011: float parameter (can only be read) : joint transformation, quaternion W
2012: float parameter (can only be read) : joint velocity. This is a calculated value.
2013: float parameter (can only be written) : spherical joint quaternion (X part). Value is buffered (quaternion will only be written when float parameter 2016 is written)
2014: float parameter (can only be written) : spherical joint quaternion (Y part). Value is buffered (quaternion will only be written when float parameter 2016 is written)
2015: float parameter (can only be written) : spherical joint quaternion (Z part). Value is buffered (quaternion will only be written when float parameter 2016 is written)
2016: float parameter (can only be written) : spherical joint quaternion (W part). Writes a quaternion using also buffered values (see parameters 2013-2015)

More parameters you wish to adjust from the API? Ask us to add them for a future release!

Shapes

3000: float parameter : x-component of the initial dynamic velocity of a dynamically enabled shape (static or non-static)
3001: float parameter : y-component of the initial dynamic velocity of a dynamically enabled shape (static or non-static)
3002: float parameter : z-component of the initial dynamic velocity of a dynamically enabled shape (static or non-static)
3003: int parameter : static state (0 or !=0). Use with care when setting this parameter
3004: int parameter : respondable state (0 or !=0). Use with care when setting this parameter (the shape might have to be reset with simResetDynamicObject)
3005: float parameter : mass of the shape. Use with care when setting this parameter (the shape might have to be reset with simResetDynamicObject)
3006: float parameter : texture x-coordinate. Has no effect when imported texture coordinates are used
3007: float parameter : texture y-coordinate. Has no effect when imported texture coordinates are used
3008: float parameter : texture z-coordinate. Has no effect when imported texture coordinates are used
3009: float parameter : texture alpha-coordinate (Euler angle). Has no effect when imported texture coordinates are used
3010: float parameter : texture beta-coordinate (Euler angle). Has no effect when imported texture coordinates are used
3011: float parameter : texture gamma-coordinate (Euler angle). Has no effect when imported texture coordinates are used
3012: float parameter : texture scaling along x. Has no effect when imported texture coordinates are used
3013: float parameter : texture scaling along y. Has no effect when imported texture coordinates are used
3014: int parameter : culling state (0 or !=0)
3015: int parameter : wireframe state (0 or !=0)
3016: int parameter : shape grouping state (0 if shape is a simple shape, !=0 if shape is a grouped shape)

More parameters you wish to adjust from the API? Ask us to add them for a future release!

Proximity sensors


More parameters you wish to adjust from the API? Ask us to add them for a future release!

Force sensors


More parameters you wish to adjust from the API? Ask us to add them for a future release!

Paths


More parameters you wish to adjust from the API? Ask us to add them for a future release!

Graphs


More parameters you wish to adjust from the API? Ask us to add them for a future release!

Lights


More parameters you wish to adjust from the API? Ask us to add them for a future release!

Cameras


More parameters you wish to adjust from the API? Ask us to add them for a future release!

Dummies


More parameters you wish to adjust from the API? Ask us to add them for a future release!

Mills


More parameters you wish to adjust from the API? Ask us to add them for a future release!

Mirrors

12000: float parameter : width of the mirror
12001: float parameter : height of the mirror
12002: float parameter : reflectance of the mirror
12003: int parameter : enable state of the mirror

More parameters you wish to adjust from the API? Ask us to add them for a future release!