Changes between Version 20 and Version 21 of vehicle


Ignore:
Timestamp:
May 18, 2015, 8:22:05 AM (5 years ago)
Author:
cameni
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • vehicle

    v20 v21  
    4747|| method || extra_force || float3 //pos// - model-space position where the force acts[[br]]float3 //force// - force vector in model-space coordinates (in Newtons) || apply extra force impulse anywhere on the object ||
    4848|| method || mass || float //m// - mass in kg || set new object mass (usable for submarines and loads ||
     49|| method || solar_time || || returns {time, sun_coef} object[[br]] //time// - solar time at vehicle location, in miliseconds[[br]] //sun_coef// - sun position relative to horizon: 0 sun at horizon, 1 sun at zenith, -1 sun at anti-zenith ||
    4950
    5051See also the [[geomob|geometry object]] interface, for things to do with the underlying geometry object.