|
Re: Aerial Assist 3D Game Simulation
Quote:
Originally Posted by vladtheimpaled
Did you use the launcher script on the blue ball, or did you somehow use it on the robot? What I did was put my launch script on the blue ball and moved it with the bot and then shot by using addrelativeforce to te ball.
|
I attached the launcher script to the robot because that made made more semantic sense to me, but I don't think it makes a lot of difference. In either case, I think you want AddForce rather than AddRelativeForce because the direction of the force on the ball is dictated by the orientation of the robot, not the orientation of the ball.
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor
|