#Rotate weapon so it always stays properly in hero's hand.

9 messages · Page 1 of 1 (latest)

tulip imp
#

Wouldn't it be easier to set the pivot point of the sword at the handle of the model, then simply attach it as a child object of the hand? That way it'll simply inherit the position/rotation of the hand during animations. I believe thats how most games do it.

sage pawn
#

Use syntax highlighting when sharing code. It's not that hard.

#

If it's irrelevant why share it then?
Just use syntax highlighting if you're going to share code because nobody wants to read that shit and it's super easy to do.

#

You're asking people for help for free. The least you could do is make it as easy as possible for people to do that.

#

Your laziness does not inspire a willingness to help you.

sage pawn
#

Not getting bitter, just not going to help someone who doesn't want to streamline the process of doing that.
Better and easier than wrapping each line in backticks is wrapping the entire code in 3 + 3 backticks, with the first set followed by js to indicate the language for which the syntax highlighting will be interpreted.

#

If you were unaware of how to do that.

#

```js
code goes here
```

sage pawn
#

That looks a lot better. Unfortunately, I do not readily know how to fix the issue you're running into with the Quaternion object, otherwise I would help you out. Having code with syntax highlighting should "grease the skids" for other people that might be inclined to help you out, though.