|
@@ -102,7 +102,7 @@ export class box extends base {
|
|
|
if(this.mCar!=null){
|
|
|
let box_world=this.node.parent.getComponent(UITransform).convertToWorldSpaceAR(this.node.position)
|
|
|
let p = this.mCar.node.parent.getComponent(UITransform).convertToNodeSpaceAR(box_world)
|
|
|
- if(p.y<(this.mCar.node.position.y+1500)&&p.y>this.mCar.node.position.y&&!this.active_node){
|
|
|
+ if(p.y<(this.mCar.node.position.y+1800)&&p.y>this.mCar.node.position.y&&!this.active_node){
|
|
|
this.active_node = true
|
|
|
}
|
|
|
|