kripken/ammo.js — Issue #17: btWheelInfo missing get_m_raycastInfo()
Author: cjcliffe
Created: 2011-11-13 22:55:24+00:00
State: open

Was just noting that I can't seem to get to the `m_raycastInfo` from my `btWheelInfo` object obtained through `btRaycastVehicle.getWheelInfo(x)` using `myWheelInfo.get_m_raycastInfo()`. I've tested and every other available property and function appears to be working correctly.

I'm guessing it's related to the struct-in-struct that's used here:

```c
struct btWheelInfo
{
struct RaycastInfo
{
//set by raycaster
btVector3 m_contactNormalWS;//contactnormal
btVector3 m_contactPointWS;//raycast hitpoint
btScalar m_suspensionLength;
btVector3 m_hardPointWS;//raycast starting point
btVector3 m_wheelDirectionWS; //direction in worldspace
btVector3 m_wheelAxleWS; // axle in worldspace
bool m_isInContact;
void* m_groundObject; //could be general void* ptr
};

RaycastInfo m_raycastInfo;
/// ... snip ...
```