Introduction to Maya - Modeling Fundamentals Vol 2
This course will look in the fundamentals of modeling in Maya with an emphasis on creating good topology. It's aimed at people that have some modeling experience in Maya but are having trouble with complex objects.
# 1 13-12-2015 , 08:28 PM
Subscriber
Join Date: Jul 2015
Posts: 9

Syntax error for grass aim

Hey guys, I'm currently running through Modelling Outdoor Environments and I'm trying to write the script for the aimAxis of the grass. I've rewritten it a hundred times but one line keeps giving me a syntax error. Aside from the name of the plane, everything is the same as what David is instructing.

vector $nrm = 'nearestPointOnMesh -ip ($p.x) ($p.y) ($p.z) -normal -q plane_ground';

Attached Thumbnails
# 2 13-12-2015 , 09:10 PM
David's Avatar
SM Tea Boy
Join Date: Apr 2002
Location: Prague
Posts: 3,228
Sorry i should have made it clearer.

it's not
vector $nrm = '

It is
vector $nrm = `

use this `
not this '

All the best
David


From a readers' Q and A column in TV GUIDE: "If we get involved in a nuclear war, would the electromagnetic pulses from exploding bombs damage my videotapes?"
# 3 13-12-2015 , 09:45 PM
Subscriber
Join Date: Jul 2015
Posts: 9
Thanks so much, the tutorial rocks!

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads