About Store Forum Documentation Contact
Donations:
206$/mo



Post Reply 
Actor gravity when subclassing Game.obj
Author Message
xzessmedia Offline
Member

Post: #1
Actor gravity when subclassing Game.obj
Hello there,
I subclassed my game objects from game.obj
Everything works fine, but i dont get a dynamic body. The body remain static. I set the mass >0 and physicsbody is a simple Cube.

When subclassing from Game.Item i get it Dynamic and it works but i want to use game.obj with my own stuff. Any ideas?
11-23-2013 02:32 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Actor gravity when subclassing Game.obj
Hi,

You can browse Game.Item object sources "Game Object Classes Source Code" from link below and compare with your own to spot the differences in actor management.
http://www.esenthel.com/?id=store&item=29
11-23-2013 05:41 AM
Find all posts by this user Quote this message in a reply
xzessmedia Offline
Member

Post: #3
RE: Actor gravity when subclassing Game.obj
Ah, i already knew that but forgot it. Thanks!
11-23-2013 04:42 PM
Find all posts by this user Quote this message in a reply
Post Reply