About Store Forum Documentation Contact



Post Reply 
D.motionMode(MOTION_CAMERA_OBJECT) give me this
Author Message
tipforeveryone Offline
Bronze Supporter

Post: #1
D.motionMode(MOTION_CAMERA_OBJECT) give me this
My mouse stays still

[Image: 32271e0293fe843dcc67b78d3c1f41b4.png]
(This post was last modified: 10-02-2021 07:00 PM by tipforeveryone.)
10-02-2021 06:59 PM
Find all posts by this user Quote this message in a reply
KrysleQuinsen Offline
Member

Post: #2
RE: D.motionMode(MOTION_CAMERA_OBJECT) give me this
I have this once but can't remember. I think you didn't update the skelanim or camera velocity right.

Code:
Camera.updateBegin();
....
Camera.updateEnd();

Code:
Chr.skel.updateBegin().clear();
....
Chr.skel.updateEnd();

For manual mesh draw (not sure if you manually draw your gun) I used something like.
Code:
current_gun_matrix=gun.matrix;
Gun.draw(current_gun_matrix, last_gun_matrix);
last_gun_matrix=current_gun_matrix;
10-03-2021 05:04 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #3
RE: D.motionMode(MOTION_CAMERA_OBJECT) give me this
That's right, order of calling functions is important.
They should be called in the same order as they're listed in the headers.
10-03-2021 07:10 AM
Find all posts by this user Quote this message in a reply
Post Reply