Macromedia Director 3D help,

  Mysticnas 21:14 19 Jan 2004
Locked

Hiya all,

posted this on some other more appropriate forums but just incase someone here knows anything...

I'm using Director MX and have imported some 3d models i made in 3Dmax.

I've typed some code that basically takes one object from a 3d file and imports into another, and then tells it where to place itself within the new object/scene. It's parent child scene; in my case the study being the parent and the wasp being the child.

pWasp = member(pStudy).cloneModelFromCastMember("wasp", "wasp", member("wasp"))


pWasp.transform.scale = vector(.090,0.090,0.090)

pWasp.transform.position = vector(-150,-050,100)

pWasp.transform.rotation = vector(45,0,110)

Thats the code there. Now the problem comes after sometime running Director MX. I don't think is a Lingo script problem, becuase it does work, but only when i fist wrote and code and anytime i open the file.

After a few times compiling and running the code it seems to stop working for no reason what so ever!

Can anyone help?

  Mysticnas 21:17 19 Jan 2004

Comes up as:

"Script error: Error

pWasp = member(pStudy).cloneModelFromCastMember("wasp", "wasp", member("wasp"))

-2147196928"


oops i think the code came out all funny in the 1st window.

pWasp = member(pStudy).cloneModelFromCastMember("wasp", "wasp", member("wasp"))


pWasp.transform.scale = vector(.090,0.090,0.090)


pWasp.transform.position = vector(-150,-050,100)


pWasp.transform.rotation = vector(45,0,110)

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

The Evil Within 2 review-in-progress

Adobe shows still-in-development tools, including automatically colourising black-and-white photos

iPhone X news: Release date, price, new features & specs

Comment transformer un iPhone en borne Wi-Fi ?