constrain to actor or change attribute memory issue
![app-etite](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
Hi guys,
I have a character constantly running on screen. Im using a separate invisible actor above him for collision detection and currently have those two actors constrained to each other so when my character jumps the invisible actor also follows.
Im hearing that constraining is harsh on processing power and I am having troubles with my game stuttering and lagging often.
For my main character, i have, when button is pressed then jump to this height. do you think I should have the invisible actor follow that rule as well so that it matches all the movement of my character with the same rules or will constrain be the better option?
Thanks
follow me
http://twitter.com/appetitegames
https://www.facebook.com/pages/Appetite-Games/203583699676600
I have a character constantly running on screen. Im using a separate invisible actor above him for collision detection and currently have those two actors constrained to each other so when my character jumps the invisible actor also follows.
Im hearing that constraining is harsh on processing power and I am having troubles with my game stuttering and lagging often.
For my main character, i have, when button is pressed then jump to this height. do you think I should have the invisible actor follow that rule as well so that it matches all the movement of my character with the same rules or will constrain be the better option?
Thanks
follow me
http://twitter.com/appetitegames
https://www.facebook.com/pages/Appetite-Games/203583699676600
Comments
Take a look at other areas in which to cut down, do you have any spawning or other unnecessary constrains?
Ace
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
Another question tho....!
I have two characters a dog and a man. When the dog collides with the man I want to change the animation to an animation ive created in which the dog is beating up the man. So I have when actors collide then destroy each of the actors, but if i put play animation or spawn actor then the sizes are all messed up.
Can a spawned actor be bigger than the actor its spawning from? And how?
If not how can i achieve this?
Thanks
Follow me
http://twitter.com/appetitegames
https://www.facebook.com/pages/Appetite-Games/203583699676600