The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Texture, Model & Animation Help Custom entity not rotating properly
Damascus Offline
Senior Member

Posts: 646
Threads: 118
Joined: Mar 2012
Reputation: 29
#1
Custom entity not rotating properly

Me and my partner have made a custom model of a large broken gear, where only half of the outer ring is still present, and I'm trying to rotate it with RotatePropToSpeed.

However when I trigger the script, it ends up rotating around the average center of the model, instead of the central hole of the gear. I placed the central hole of the gear right at 0,0,0 in the Model Editor, but that doesn't seem to help.

We even edited the mesh to place a small invisible plane in the middle of the gap in the hopes that we now moved the 'center' of the model to the gear hole. It still doesn't work. Can anyone help me here?

06-07-2012, 08:42 AM
Find


Messages In This Thread
Custom entity not rotating properly - by Damascus - 06-07-2012, 08:42 AM



Users browsing this thread: 1 Guest(s)