BulletSim: Add more to the TODO list. Clean up and improve some comments.
parent
469c6c000a
commit
664dad53dd
|
@ -98,18 +98,14 @@ public struct BulletBody
|
||||||
|
|
||||||
public struct BulletShape
|
public struct BulletShape
|
||||||
{
|
{
|
||||||
public BulletShape(IntPtr xx)
|
public BulletShape(IntPtr xx) : this(xx, BSPhysicsShapeType.SHAPE_UNKNOWN)
|
||||||
{
|
{
|
||||||
ptr = xx;
|
|
||||||
type=BSPhysicsShapeType.SHAPE_UNKNOWN;
|
|
||||||
shapeKey = (System.UInt64)FixedShapeKey.KEY_NONE;
|
|
||||||
isNativeShape = false;
|
|
||||||
}
|
}
|
||||||
public BulletShape(IntPtr xx, BSPhysicsShapeType typ)
|
public BulletShape(IntPtr xx, BSPhysicsShapeType typ)
|
||||||
{
|
{
|
||||||
ptr = xx;
|
ptr = xx;
|
||||||
type = typ;
|
type = typ;
|
||||||
shapeKey = 0;
|
shapeKey = (System.UInt64)FixedShapeKey.KEY_NONE;
|
||||||
isNativeShape = false;
|
isNativeShape = false;
|
||||||
}
|
}
|
||||||
public IntPtr ptr;
|
public IntPtr ptr;
|
||||||
|
@ -192,7 +188,7 @@ public enum CollisionType
|
||||||
Static,
|
Static,
|
||||||
Dynamic,
|
Dynamic,
|
||||||
VolumeDetect,
|
VolumeDetect,
|
||||||
// Linkset, // A linkset proper should be either Static or Dynamic
|
// Linkset, // A linkset should be either Static or Dynamic
|
||||||
LinksetChild,
|
LinksetChild,
|
||||||
Unknown
|
Unknown
|
||||||
};
|
};
|
||||||
|
@ -211,7 +207,7 @@ public struct CollisionTypeFilterGroup
|
||||||
public uint mask;
|
public uint mask;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/* NOTE: old definitions kept for reference. Delete when things are working.
|
||||||
// The collsion filters and masked are defined in one place -- don't want them scattered
|
// The collsion filters and masked are defined in one place -- don't want them scattered
|
||||||
AvatarGroup = BCharacterGroup,
|
AvatarGroup = BCharacterGroup,
|
||||||
AvatarMask = BAllGroup,
|
AvatarMask = BAllGroup,
|
||||||
|
|
|
@ -19,6 +19,7 @@ Some vehicles should not be able to turn if no speed or off ground.
|
||||||
Neb car jiggling left and right
|
Neb car jiggling left and right
|
||||||
Happens on terrain and any other mesh object. Flat cubes are much smoother.
|
Happens on terrain and any other mesh object. Flat cubes are much smoother.
|
||||||
This has been reduced but not eliminated.
|
This has been reduced but not eliminated.
|
||||||
|
Light cycle falling over when driving
|
||||||
For limitMotorUp, use raycast down to find if vehicle is in the air.
|
For limitMotorUp, use raycast down to find if vehicle is in the air.
|
||||||
Angular motion around Z moves the vehicle in world Z and not vehicle Z in ODE.
|
Angular motion around Z moves the vehicle in world Z and not vehicle Z in ODE.
|
||||||
Verify that angular motion specified around Z moves in the vehicle coordinates.
|
Verify that angular motion specified around Z moves in the vehicle coordinates.
|
||||||
|
@ -121,6 +122,9 @@ Remove unused fields from ShapeData (not used in API2)
|
||||||
Breakout code for mesh/hull/compound/native into separate BSShape* classes
|
Breakout code for mesh/hull/compound/native into separate BSShape* classes
|
||||||
Standardize access to building and reference code.
|
Standardize access to building and reference code.
|
||||||
The skeleton classes are in the sources but are not complete or linked in.
|
The skeleton classes are in the sources but are not complete or linked in.
|
||||||
|
Make BSBody and BSShape real classes to centralize creation/changin/destruction
|
||||||
|
Convert state and parameter calls from BulletSimAPI direct calls to
|
||||||
|
calls on BSBody and BSShape
|
||||||
Generalize Dynamics and PID with standardized motors.
|
Generalize Dynamics and PID with standardized motors.
|
||||||
Generalize Linkset and vehicles into PropertyManagers
|
Generalize Linkset and vehicles into PropertyManagers
|
||||||
Methods for Refresh, RemoveBodyDependencies, RestoreBodyDependencies
|
Methods for Refresh, RemoveBodyDependencies, RestoreBodyDependencies
|
||||||
|
@ -132,7 +136,7 @@ Implement linkset by setting position of children when root updated. (LinksetMan
|
||||||
Linkset implementation using manual prim movement.
|
Linkset implementation using manual prim movement.
|
||||||
LinkablePrim class? Would that simplify/centralize the linkset logic?
|
LinkablePrim class? Would that simplify/centralize the linkset logic?
|
||||||
BSScene.UpdateParameterSet() is broken. How to set params on objects?
|
BSScene.UpdateParameterSet() is broken. How to set params on objects?
|
||||||
Remove HeightmapInfo from terrain specification.
|
Remove HeightmapInfo from terrain specification
|
||||||
Since C++ code does not need terrain height, this structure et al are not needed.
|
Since C++ code does not need terrain height, this structure et al are not needed.
|
||||||
Add floating motor for BS_FLOATS_ON_WATER so prim and avatar will
|
Add floating motor for BS_FLOATS_ON_WATER so prim and avatar will
|
||||||
bob at the water level. BSPrim.PositionSanityCheck().
|
bob at the water level. BSPrim.PositionSanityCheck().
|
||||||
|
@ -164,7 +168,6 @@ Do prim hash codes work for sculpties and meshes? (Resolution: yes)
|
||||||
Linkset implementation using compound shapes. (Resolution: implemented LinksetCompound)
|
Linkset implementation using compound shapes. (Resolution: implemented LinksetCompound)
|
||||||
Compound shapes will need the LocalID in the shapes and collision
|
Compound shapes will need the LocalID in the shapes and collision
|
||||||
processing to get it from there.
|
processing to get it from there.
|
||||||
Light cycle falling over when driving (Resolution: implemented VerticalAttractor)
|
|
||||||
Light cycle not banking (Resolution: It doesn't. Banking is roll adding yaw.)
|
Light cycle not banking (Resolution: It doesn't. Banking is roll adding yaw.)
|
||||||
Package Bullet source mods for Bullet internal stats output
|
Package Bullet source mods for Bullet internal stats output
|
||||||
(Resolution: move code into WorldData.h rather than relying on patches)
|
(Resolution: move code into WorldData.h rather than relying on patches)
|
||||||
|
|
Loading…
Reference in New Issue