Returns the location as a three-dimensional vector of a node on a flexible body.
Format
loc_by_flexbody_nodeid (flex_body, node_id)
flex_body | Name of the flexible body. |
node_id | Node number. |
Returns
If the node ID does not exist in the flexible body, LOC_BY_FLEXBODY_NODEID returns a location at the origin (0, 0, 0) with no warning.
Example
The following example creates a marker on ground that is coincident to node 1000 of flexible body link:
marker create marker=.ground.marker_1 &
location = (eval(LOC_BY_FLEXBODY_NODEID(link, 1000)))