About Store Forum Documentation Contact



Post Reply 
Door and joint
Author Message
Harry Offline
Member

Post: #1
Door and joint
I want to make a new type of doors which are opening like in Joints 2 tutorial and I have 2 questions:

- is it good idea to base on Game::Item or better is to create new struct based on Game::Obj?

- how can I get actor direction/rotation to set properly joint direction? actor.matrix().x ?
(This post was last modified: 04-06-2010 04:29 PM by Harry.)
04-06-2010 04:12 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Door and joint
1. Game::Obj
2. joint axis in door case should always be Vec(0,1,0)
04-11-2010 06:02 AM
Find all posts by this user Quote this message in a reply
Harry Offline
Member

Post: #3
RE: Door and joint
How can I properly draw mesh with obj.scale and all rotations when I extend Game::Obj Class?
04-13-2010 12:25 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply