Jump to content

Recommended Posts

Posted

When I move mouse to a slightly steep angle I get a flickering of enemy animation.When I lower angle of view it goes ok again. Anyone help? I may need to restrict angle of view but don't know how

 

 

mx=Curve(MouseX()-GraphicsWidth()/2,mx,6);

my=Curve(MouseY()-GraphicsHeight()/2,my,6);

MoveMouse(GraphicsWidth()/2,GraphicsHeight()/2);

camrotation.X=camrotation.X+my/10.0;

camrotation.Y=camrotation.Y-mx/10.0;

 

 

RotateEntity(cam,camrotation);

amd quad core 4 ghz / geforce 660 ti 2gb / win 10

Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++

Posted

sounds more like an issue with the character's animation or the code to animate rather than an issue with the camera angle... i wouldn't limit your view angle as a band-aid fix to the issue but rather attempt to resolve what could be causing the problem.

 

perhaps you should try just making a simple example program that does nothing but load the character and allows you to cycle through the animations to troubleshoot the issue.

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Posted

if I add RotateEntity(player,camrotation); the problem goes away but everything moves very slowly. But you may be right,only animations are affected. The Bmax version of my program works fine without this problem.

I work on each version on alternate nights. They are almost identical.

amd quad core 4 ghz / geforce 660 ti 2gb / win 10

Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++

Posted

I have been trying to upload a video showing the fault 97mb. But had no luck. Are they uploaded like any other file?

amd quad core 4 ghz / geforce 660 ti 2gb / win 10

Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++

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...