Hi i am trying to rotate an object like dota 2 demo hero and now i can rotate the object successfully but only on mousewheel up . What my problem is the mousewheel down which should rotate invertly
Here's my BP
Can someone help me please. Thank you in advance guys.
It's alright now . I've got it :)
here's my solution
Related
I would like to attached htc vive controller to the feet of a person so that it's walk is perfectly render in Unity.
Do you guys know any existing scripts or have any clue where I should be looking to achieve that ?
Thanks a lot.
Lucas
The best way to achieve this is to use Inverse Kinematic
I never used it before but there is a lot of tutorials about how to use this
I want my game logo can auto move in x position ( up and down ) .
I try to make it by scripts but unsuccess :(
Any idea ? big thanks :D
use unity Animation Graph
https://www.youtube.com/watch?v=LbZTgvCE-8I
In case of any more queries do let me know
I want to fly b2bodies with in the entire screen randomly. Now I'm using ccMoveTo but it does not look soo good. Can anyone tell me if there is any easy method to move without using ccMoveTo or ccBazierTo?
The example game http://www.agame.com/game/chickaboom.html
Thanks in advance
You can use this code
body->setlinearvelocity(b2vec2(randomNumber1, randomNumber2));
I'm working on an iPhone game using box2D and I need to implement horizontal scrolling... I was able to scroll the background textures and all... But, the problem is that, I'm not able to scroll the physics world of box2d... Please help me, how to move the box2d world... I'm not using cocos2d... I googled a lot, but was not able to find any solution without cocos2d...
Regards,
Suran
You should not move the world. Instead, try moving the "camera" (clip area) accordingly with the game character.
Try following: in touchesEnd Method:
[self.parent runAction:[CCMoveTo actionWithDuration:.5 position:ccp(yourPosition,0)]];
in my game i want to give slicing effect , like after moving my finger on monster it should kill and monster blood should come on screen ,and disappear after few seconds ..
please help me ..
help will be appreciated ..
check this tutorial :- http://blog.roychowdhury.org/2010/11/19/cocos2d-iphone-tutorial-die-grossini-die-part-i/ they create blood particle effect manually
Take a look at MotionStreakTest example coming with cocos2d. I Think you can create your own effect based on this.
Or take a look at particle effects. Create a blood emitter and move it with your finger