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
Rotate Prop?
Twitchez Offline
Member

Posts: 67
Threads: 17
Joined: Mar 2012
Reputation: 1
#1
Rotate Prop?

Hey Forum People!

Today, when I was trying to program a bookshelf moving I encountered some weird problems:

1. The bookshelf was moving instantly using this script: SetMoveObjectState("shelf_ftw",1.0f); and moving it around a joint.

But since I want it to open the other way, I set 1.0f to -1.0f and it doesn't move at all. What could be the problem?

2. How do I make the books in my bookshelf join the bookshelf when it's turning, since I can't seem to move a compound?

3. I'm trying to rotate an entity 360 degrees in the Y-axis at the same time, but I think I'm using the wrong function:
RotatePropToSpeed("My_Entity", 0.5, 0.75, 0.0, 360.0, 0.0, true, "");

How could I spin entities an other way?


All the best,
//Twitchez
(This post was last modified: 04-21-2012, 12:37 PM by Twitchez.)
04-21-2012, 12:36 PM
Find


Messages In This Thread
Rotate Prop? - by Twitchez - 04-21-2012, 12:36 PM
RE: Rotate Prop? - by SilentStriker - 04-21-2012, 12:45 PM
RE: Rotate Prop? - by Mine Turtle - 04-21-2012, 02:49 PM
RE: Rotate Prop? - by Cranky Old Man - 04-21-2012, 03:45 PM
RE: Rotate Prop? - by Twitchez - 04-29-2012, 12:33 AM
RE: Rotate Prop? - by Cranky Old Man - 04-29-2012, 12:59 AM



Users browsing this thread: 1 Guest(s)