Hey, I m pretty much in the same boat alot of people seem to be in.
Having to write a Python plug-in, with only mel experience. The total
change of syntax and pratice is very confusing. My plug-in is a uni
project, creating a bullet effects suite. bascially the aim is the
user will use 2 nodes/locators,

one a bullet start, basically at muzzle of gun for flash effects

and one an aim locator, basically to aim the flash in the right
direction, and for bullet path

quite simular to camera aim in effect.

my problem as i see it is how to create impact effects when i bullet
hits a mesh. I ve seen the plug in J Osipa posted, and its use of the
API to consult the MFn Mesh.intersect class. This seems a good place
to start as feasibly i could feed in the two locators and this
function could spit out the location of intersction. The only
drawbacks as far as i can see is that this requires the mesh to be an
input, whilst i wanted the plug in to do this automatically so a user
would nt have to select a mesh it intersects.  I m pretty sure there
are commands that can highlight the mesh it would hit in its path ?
Any suggestions

I am pretty new to this malarky and any input or feedback would be
highly appreciated ! !

Cheers Guys !

--~--~---------~--~----~------------~-------~--~----~
Yours,
Maya-Python Club Team.
-~----------~----~----~----~------~----~------~--~---

Reply via email to