Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

LiquidFun get particle position?
Started by poogooflupduck Apr 13 2016 04:06 AM

2 replies to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

poogooflupduck

[GLOBAL: userInfoPane.html]
poogooflupduck
  • Observer

  • 9 posts
  • Corona SDK

Is there a way to get the x, y coordinates of a particle group or a single particle after creating them using

 

object:createGroup() or object:createParticle()

 

Thanks :)



[TOPIC: post.html]
#2

Brent Sorrentino

[GLOBAL: userInfoPane.html]
Brent Sorrentino
  • Moderator

  • 8,164 posts
  • Corona Staff

Hi @poogooflupduck,

There's no way to detect the exact x/y of a group or single particle.

 

May I ask what your need/goal is for detecting this? There may be another approach depending on this.

 

Brent



[TOPIC: post.html]
#3

sam_throwaway

[GLOBAL: userInfoPane.html]
sam_throwaway
  • Observer

  • 3 posts
  • Corona SDK

I also need to know how to find the position of individual particles which are created using createParticle().

 

I need to be able to compare positions from one particle to another using their x and y positions.

 

Is there anyway that I can do this?

 

If not, what do you suggest that I do?




[topic_controls]
[/topic_controls]