阅读背景:

向一个对象添加力会在附加脚本的情况下为所有对象添加力

来源:互联网 

I wrote a script that moves objects up and down on the y axis only when the mouse is on the object. I am using ray casts and I can use the name and distinguish between each object. However, when I try to add a force when ray casting, all of the objects with the script attached move. Anyone know why this is?I wrote a script that moves objects up and down




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: