English Get object rotation?

4 replies
Goto Page
To the start Previous 1 Next To the start
22.01.14 10:24:53 pm
Up
Nemesis
User
Offline Off
Hello everyone
As far as i know there is only getplayerrotation() function, but how to get rotation of an object? Is there a way to do that?
22.01.14 11:20:22 pm
Up
DC
Admin
Offline Off
I think objects don't have a built-in rotation at all. You would have to script that yourself using a simple variable (and two object versions if it affects the collision as well).
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
22.01.14 11:48:04 pm
Up
Nemesis
User
Offline Off
user DC has written:
I think objects don't have a built-in rotation at all. You would have to script that yourself using a simple variable (and two object versions if it affects the collision as well).

Thanks DC
Just wonder, any chance it would happen in next releases? Might make life easier a bit tho.

May i also ask you one more thing please? (sorry for the offtop ._.) Is that possible to check collision with a map, or calculate if that kind of a collision is possible? To evade it.
23.01.14 12:20:36 am
Up
DC
Admin
Offline Off
Collision checking is possible (and essential as nearly every weapon uses it) of course. Take a look at the collision commands:
http://www.carnagecontest.com/help_cmds.php?cat=collision
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
To the start Previous 1 Next To the start