* Maik Justus -- Wednesday 20 December 2006 00:47:
> does anyone know, how to access the ground properties by the FDM?

Looks like the groundcache provides this:

bool
FGGroundCache::get_agl(double t, const SGVec3d& dpt, double max_altoff,
                       SGVec3d& contact, SGVec3d& normal, SGVec3d& vel,
                       int *type, const SGMaterial** material, double *agl)


The ground cache is already used by JSBSim and YASim for gear contact.
See simgear/scene/material/mat.hxx for SGMaterial. It has methods to
read friction/bumpiness/...

m.

  

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to