Anyone had a go at making a Speed Limit DOP?
It seems this could be done with the Modify Data DOP but vel is an option of the Position data so I'm a little uncertain. Not to mention angular velocity.. something simple for starters!
L
Speed Limit DOP
3744 2 0- louis dunlevy
- Member
- 641 posts
- Joined: July 2005
- Offline
- louis dunlevy
- Member
- 641 posts
- Joined: July 2005
- Offline
- louis dunlevy
- Member
- 641 posts
- Joined: July 2005
- Offline
OK I'm starting to get the hang of this custom data biz but I'd like to know why the RBD State DOP lets you use variables and the other DOPs don't.
for example, in the RBD State DOP, I'm putting something like:
if($accumulateImpacts>0,$velx*.1,$velx)
where accumulateImpacts is some custom sub data. That works fine. If I try that in a Drag DOP:
if($accumulateImpacts>0,10000,1)
It doesn't work and I have to use:
if(dopfield(“.”, $OBJID, “MyImpactData”, “Options”, 0, “accumulateImpacts”)>0,10000,1)
emmm.. that's a bit of a.. ummm.. drag. Why can't I use variables everywhere?
L
for example, in the RBD State DOP, I'm putting something like:
if($accumulateImpacts>0,$velx*.1,$velx)
where accumulateImpacts is some custom sub data. That works fine. If I try that in a Drag DOP:
if($accumulateImpacts>0,10000,1)
It doesn't work and I have to use:
if(dopfield(“.”, $OBJID, “MyImpactData”, “Options”, 0, “accumulateImpacts”)>0,10000,1)
emmm.. that's a bit of a.. ummm.. drag. Why can't I use variables everywhere?
L
-
- Quick Links