Ask a Question related to Macromedia Director 3D, Design and Development.
-
AndrewNock #1
Creating Linear Dashpots in my scene
Hey all,
I'm trying to use linear dashpots in my scene using this code
linearDashpot = hk.makeLinearDashpot ("MyDash", "hkCabin", "hkArm1")
linearDashpot.strength = 40
linearDashpot.pointA = vector (0.0, 0, 5)
linearDashpot.damping = 0.5
Unfort, when I run it, it comes back saying
"Script error: Value out of range
linearDashpot = hk.makeLinearDashpot ("MyDash", "hkCabin", "hkArm1")
-2147219496"
Any solutions?
AndrewNock Guest
-
Help with Linear Dashpots
Hi there, First what I am trying to do is I would like to apply four linear dashpots, one for each wheel and 4 angular dahspots, one for each... -
Havok dashpots - connect to origin?
Just reading up on these dashpot things, and realizing why setups that work perfectly in Max cannot be reproduced via lingo in Director - a dashpot... -
movieclip scene to scene navigation
I have three scenes. There is a movie clip, mc_navigate, which has 2 buttons nested with in. I would like to use these buttons to navigate from... -
Change scene and start mc on the new scene...
Hi, I've got one swf with two scenes. The scene2 contains all the content of my site. This scene have a navigator (mc) with buttons holding... -
One frame scene verses alot of frames scene
Hello I have a question. I am working on my own web design website which is www.smoovejcmedia.tfang.org. On my first scene and its only that scene I... -
Agustín María Rodríguez #2
Re: Creating Linear Dashpots in my scene
AndrewNock wrote:
Hi. Check if "hkCabin" and "hkArm1" are RBs. Maybe "hkArm1" it´s not a> Hey all,
>
> I'm trying to use linear dashpots in my scene using this code
>
> linearDashpot = hk.makeLinearDashpot ("MyDash", "hkCabin", "hkArm1")
> linearDashpot.strength = 40
> linearDashpot.pointA = vector (0.0, 0, 5)
> linearDashpot.damping = 0.5
>
> Unfort, when I run it, it comes back saying
> "Script error: Value out of range
> linearDashpot = hk.makeLinearDashpot ("MyDash", "hkCabin", "hkArm1")
> -2147219496"
>
> Any solutions?
>
RB and Havok expects a worldPoint value as parameter instead of a RB.
HTH,
--
Agustín María Rodríguez
[url]www.onwine.com.ar[/url] > Macromedia Director demos & code
Agustín María Rodríguez Guest
-
AndrewNock #3
Re: Creating Linear Dashpots in my scene
thanks for that.
I used the world point value and something works (don't get an error at least)!
worldPoint = p3Dmember.model("Rope").transform.position
otherPoint = "ArmToRope"
dashpot = hk.makeLinearDashpot( "DashpotName", otherPoint, worldPoint )
dashpot.strength = 10
dashpot.damping = 0
What I want is for the rope to be 'attached' to the 'ArmToRope' (simple box at
the top of the crane). It keeps detaching itself though....
AndrewNock Guest



Reply With Quote

