Jump to content

Read only expression on left side of assignment


art3mis

Recommended Posts

Can any VEX experts help with the following. Getting a

"Read only expression on left side of assignment' error for the last line in the following VEX snippet

 

vector axis = vector(rand(@ptnum));
float angle = radians(ch('amount'));
matrix3 m = ident();
 
rotate(m, angle, axis);
@orient = quaternion(m);

 

Link to comment
Share on other sites

  • 5 months later...
  • 2 years later...
  • 10 months later...
On 2/11/2018 at 11:54 PM, mestela said:

Works fine here, sounds like a stuck wrangle, happens sometimes.

Try copying to a fresh wrangle.

 

That's easier said than done, I just ran into this issue on a wrangle with an heavily modified interface that's referenced in multiple places, to redo it all would take days of grueling work. 

Is there any other way to clear a stuck wrangle?

I guess I'll just revert to an earlier build. I'm very glad I always create new versioned saves. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...