Floating - AndroidQuazar/VanillaExpandedFramework GitHub Wiki

CompFloating makes an animal ignore terrain movement costs. Note that this won't allow an animal to cross impassable terrain such as walls or water, but it will allow it for example to cross stone chunks, barricades, and trees without slowing down.

How do I use this code?

It is a comp class, and it doesn't even need any parameters, so you just add it in XML in the <comps> tag. For example, this allows Aerofleet in Alpha Animals to float above terrain

<comps>		
	<li Class="AnimalBehaviours.CompProperties_Floating">
	</li>
</comps>
⚠️ **GitHub.com Fallback** ⚠️