Difference between revisions of "Oolite JavaScript Reference: ExhaustPlume"
From Elite Wiki
m (moved Oolite JavaScript Reference: Exhaust to Oolite JavaScript Reference: ExhaustPlume: Correct class name) |
Cholmondely (talk | contribs) (Added Keepers gubbins about exhaust colours. Unsure if this is the correct location.) |
||
Line 19: | Line 19: | ||
[[Category:Oolite JavaScript Reference]] | [[Category:Oolite JavaScript Reference]] | ||
+ | |||
+ | |||
+ | == Links == | ||
+ | *[http://www.keeper1st.com/Oolite/exhausts.html Details of Exhaust colours] | ||
+ | *[http://www.aegidian.org/bb/viewtopic.php?p=250516#p250516 Keeper's post explaining the above] (2016) |
Revision as of 18:59, 10 November 2022
Prototype: Entity
The ExhaustPlume
class is an Entity
representing a ship's exhaust. It has all the properties and methods of an Entity, and several others. Available from Oolite 1.79 onwards.
Contents
Properties
This property was added in Oolite test release 1.79.
size
size : Vector (read/write)
The size of the exhaust. The 'x' and 'y' values are the radius in the 'x' and 'y' plane of the associated ship, in metres. The 'z' value is the relative size of the exhaust - the absolute size being dependent on ship speed - with 1.0 being the default, and values between 0.5 and 2.0 allowed.
Methods
This method was added in Oolite test release 1.79.
remove
function remove()
Remove the exhaust completely from the ship